summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats
diff options
context:
space:
mode:
authorSimon Rettberg2017-11-27 14:27:59 +0100
committerSimon Rettberg2017-11-27 14:27:59 +0100
commite79f57861721014be6e000308f1f852798dfdd0e (patch)
tree5e5cc3dda41b573482f8ddc01401e61ab8947891 /core/modules/hardware-stats
parent[budybox] rtcwake patch: Default to rtc0 (diff)
downloadmltk-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')
-rwxr-xr-xcore/modules/hardware-stats/data/opt/openslx/scripts/systemd-hws_standby2
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