diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-26 16:48:55 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-26 16:48:55 +0000 |
commit | 74c155d2e009a0dd2290cc66fbd628376b3f3658 (patch) | |
tree | c0036b94d04e60b91a4700177bce77ff15e7e7c5 /move | |
parent | 023504a1a6d43414f366562485d14dcbdffbedc8 (diff) | |
download | drakx-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-x | move/make_live | 3 |
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); |