bb584b27e9
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
18 lines
491 B
Diff
18 lines
491 B
Diff
--- a/src/argononed.c
|
|
+++ b/src/argononed.c
|
|
@@ -783,13 +783,13 @@
|
|
{
|
|
log_message(LOG_DEBUG, "EXEC REBOOT");
|
|
sync();
|
|
- system("/sbin/reboot");
|
|
+ system("/run/current-system/sw/bin/reboot");
|
|
}
|
|
if (count >= 39 && count <= 41)
|
|
{
|
|
log_message(LOG_DEBUG, "EXEC SHUTDOWN");
|
|
sync();
|
|
- system("/sbin/poweroff");
|
|
+ system("/run/current-system/sw/bin/poweroff");
|
|
}
|
|
#else
|
|
log_message(LOG_INFO,"Daemon Ready");
|