]> Zhao Yanbai Git Server - minix.git/commitdiff
better solution for poweroff(8)
authorDavid van Moolenbroek <david@minix3.org>
Fri, 12 Jun 2009 13:17:33 +0000 (13:17 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Fri, 12 Jun 2009 13:17:33 +0000 (13:17 +0000)
commands/scripts/poweroff.sh

index ca82b5ce1bef4d0e5a754b165d958f581ab2ca69..92c563fba23c6764e976531e4c216f783265fe27 100644 (file)
@@ -10,6 +10,4 @@ fi
 
 PATH=/usr/bin:$PATH
 
-trap "" 15
-
-shutdown -x off
+exec shutdown -x off