summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmove/make_live3
1 files changed, 3 insertions, 0 deletions
diff --git a/move/make_live b/move/make_live
index 07f6b5233..a3b20cb48 100755
--- a/move/make_live
+++ b/move/make_live
@@ -133,3 +133,6 @@ unlink "$::prefix/usr/sbin/$_" foreach qw(drakautoinst drakboot drakfloppy drakg
substInFile {
s|chkconfig:|chkconfig-disabled:|;
} "/etc/rc.d/init.d/$_" foreach qw(xfs dm devfsd syslog);
+
+#- we're not using sysv init, we need to replace these
+output("/sbin/$_", "#!/bin/sh\nhalt_reboot"), chmod(0755, "/sbin/$_") foreach qw(halt reboot);