summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-26 16:48:55 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-26 16:48:55 +0000
commit74c155d2e009a0dd2290cc66fbd628376b3f3658 (patch)
treec0036b94d04e60b91a4700177bce77ff15e7e7c5 /move
parent023504a1a6d43414f366562485d14dcbdffbedc8 (diff)
downloaddrakx-backup-do-not-use-74c155d2e009a0dd2290cc66fbd628376b3f3658.tar
drakx-backup-do-not-use-74c155d2e009a0dd2290cc66fbd628376b3f3658.tar.gz
drakx-backup-do-not-use-74c155d2e009a0dd2290cc66fbd628376b3f3658.tar.bz2
drakx-backup-do-not-use-74c155d2e009a0dd2290cc66fbd628376b3f3658.tar.xz
drakx-backup-do-not-use-74c155d2e009a0dd2290cc66fbd628376b3f3658.zip
call my halt_reboot in place of halt and reboot
Diffstat (limited to 'move')
-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);