summaryrefslogtreecommitdiffstats
path: root/move/make_live
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-27 13:18:47 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-27 13:18:47 +0000
commitf3837fd9c687ec40de7aab3a56ce75cc39aa2961 (patch)
treec87b4a2f708c86f0c14e8af25f74a9a06255312a /move/make_live
parentd3551589c911a40239d5be2b7ddc414f89dd548f (diff)
downloaddrakx-f3837fd9c687ec40de7aab3a56ce75cc39aa2961.tar
drakx-f3837fd9c687ec40de7aab3a56ce75cc39aa2961.tar.gz
drakx-f3837fd9c687ec40de7aab3a56ce75cc39aa2961.tar.bz2
drakx-f3837fd9c687ec40de7aab3a56ce75cc39aa2961.tar.xz
drakx-f3837fd9c687ec40de7aab3a56ce75cc39aa2961.zip
allow to halt machine
Diffstat (limited to 'move/make_live')
-rwxr-xr-xmove/make_live2
1 files changed, 1 insertions, 1 deletions
diff --git a/move/make_live b/move/make_live
index 1a9642b21..7422f7c39 100755
--- a/move/make_live
+++ b/move/make_live
@@ -137,4 +137,4 @@ substInFile {
} "$::prefix/etc/rc.d/init.d/$_" foreach qw(xfs dm devfsd syslog);
#- we're not using sysv init, we need to replace these
-output("$::prefix/sbin/$_", "#!/bin/sh\nhalt_reboot"), chmod(0755, "$::prefix/sbin/$_") foreach qw(halt reboot);
+unlink "$::prefix/sbin/$_" foreach qw(halt reboot);