From 74c155d2e009a0dd2290cc66fbd628376b3f3658 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Wed, 26 Nov 2003 16:48:55 +0000 Subject: call my halt_reboot in place of halt and reboot --- move/make_live | 3 +++ 1 file changed, 3 insertions(+) (limited to 'move/make_live') 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); -- cgit v1.2.1