aports/community/consolekit2/0001-busybox-reboot-and-poweroff-support.patch
2023-04-19 17:01:02 +00:00

19 lines
464 B
Diff

diff --git a/tools/linux/ck-system-restart b/tools/linux/ck-system-restart
index f82e73c..46db861 100755
--- a/tools/linux/ck-system-restart
+++ b/tools/linux/ck-system-restart
@@ -1,3 +1,3 @@
#!/bin/sh
-shutdown -r now
+/sbin/reboot
diff --git a/tools/linux/ck-system-stop b/tools/linux/ck-system-stop
index 7503b76..546378b 100755
--- a/tools/linux/ck-system-stop
+++ b/tools/linux/ck-system-stop
@@ -1,3 +1,3 @@
#!/bin/sh
-shutdown -h now
+/sbin/poweroff