about summary refs log tree commit diff
path: root/halt.c
diff options
context:
space:
mode:
Diffstat (limited to 'halt.c')
-rw-r--r--halt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/halt.c b/halt.c
index d6c52e6..90d5930 100644
--- a/halt.c
+++ b/halt.c
@@ -51,21 +51,21 @@ int main(int argc, char *argv[]) {
     if (do_force)
       reboot(RB_HALT_SYSTEM);
     else
-      execl("/bin/init", "init", "0", (char*)0);
+      execl("/bin/runit-init", "init", "0", (char*)0);
     err(1, "halt failed");
     break;
   case POWEROFF:
     if (do_force)
       reboot(RB_POWER_OFF);
     else
-      execl("/bin/init", "init", "0", (char*)0);
+      execl("/bin/runit-init", "init", "0", (char*)0);
     err(1, "poweroff failed");
     break;
   case REBOOT:
     if (do_force)
       reboot(RB_AUTOBOOT);
     else
-      execl("/bin/init", "init", "6", (char*)0);
+      execl("/bin/runit-init", "init", "6", (char*)0);
     err(1, "reboot failed");
     break;
   case NOOP: