]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
initscripts: Removed unknown functions.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 25 Aug 2009 21:17:49 +0000 (23:17 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 25 Aug 2009 21:17:49 +0000 (23:17 +0200)
You can't just copy some lines...

src/initscripts/core/shutdown.conf

index 625614459e7978cd0f0df8d76b8152a8c72a4467..cf8841aec447d890434dca1ba3a789756b9a7b9a 100644 (file)
@@ -8,18 +8,11 @@ console output
 script
        # Exterminate any lil' process that managed to evade my merciless
        # terminating.
-       initmsg msg "Sending all processes the SIGTERM signal"
        killall5 -15 || true
-       initmsg ret $? "Sending all processes the SIGTERM signal"
-       
-       initmsg msg "Sending all processes the SIGKILL signal"
        sleep 5
        killall5 -9 || true
-       initmsg ret $? "Sending all processes the SIGKILL signal"
        
-       initmsg msg "Remounting root filesystem read-only"
        mount -n -o remount,ro / || true
-       initmsg ret $? "Remount of the root filesystem read-only"
 
        # The UPSTART_EVENTS variable contains the event that has been called.
        # The script use it to perform the requested action.