summaryrefslogtreecommitdiffstats
path: root/core/modules/kexec-reboot
diff options
context:
space:
mode:
authorSimon Rettberg2018-04-25 14:32:50 +0200
committerSimon Rettberg2018-04-25 14:32:50 +0200
commit8cb0c4db5f55d60e6f0b7e75ebdb4f56cf274476 (patch)
tree1ddfb4c4cfdf9bc1f0b324ed88205561d81b3d87 /core/modules/kexec-reboot
parent[pam-bwidm] Set proper Content-Type in request (diff)
downloadmltk-8cb0c4db5f55d60e6f0b7e75ebdb4f56cf274476.tar.gz
mltk-8cb0c4db5f55d60e6f0b7e75ebdb4f56cf274476.tar.xz
mltk-8cb0c4db5f55d60e6f0b7e75ebdb4f56cf274476.zip
[idleaction] Add kexec-reboot support
Diffstat (limited to 'core/modules/kexec-reboot')
-rwxr-xr-xcore/modules/kexec-reboot/data/opt/openslx/bin/kexec-reboot4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/modules/kexec-reboot/data/opt/openslx/bin/kexec-reboot b/core/modules/kexec-reboot/data/opt/openslx/bin/kexec-reboot
new file mode 100755
index 00000000..60197f50
--- /dev/null
+++ b/core/modules/kexec-reboot/data/opt/openslx/bin/kexec-reboot
@@ -0,0 +1,4 @@
+#!/bin/ash
+
+exec systemctl start kexec.target
+