diff options
author | Simon Rettberg | 2017-11-27 14:27:59 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-11-27 14:27:59 +0100 |
commit | e79f57861721014be6e000308f1f852798dfdd0e (patch) | |
tree | 5e5cc3dda41b573482f8ddc01401e61ab8947891 /core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hws_standby | |
parent | [budybox] rtcwake patch: Default to rtc0 (diff) | |
download | mltk-e79f57861721014be6e000308f1f852798dfdd0e.tar.gz mltk-e79f57861721014be6e000308f1f852798dfdd0e.tar.xz mltk-e79f57861721014be6e000308f1f852798dfdd0e.zip |
[hardware-stats] Import SLX vars in standby-script
Diffstat (limited to 'core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hws_standby')
-rwxr-xr-x | core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hws_standby | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hws_standby b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hws_standby index 69276a45..a92a004d 100755 --- a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hws_standby +++ b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hws_standby @@ -10,6 +10,8 @@ if [ "x$ACTION" != "xresume" ] && [ "x$ACTION" != "xsuspend" ]; then exit 1 fi +. /opt/openslx/config + UUID=$(cat /etc/system-uuid) for DELAY in 1 1 2 3 5 8 0; do |