chiark / gitweb /
Better stop while you're behind
[dsa-metapackages.git] / buildd-reboot
index d2e9a5831c58a7712c418a46fa148d0ca8f8f56a..c454a400b69fe31fc6799c313e245d96ee3b7a5c 100755 (executable)
@@ -80,9 +80,9 @@ buildd_wait_and_reboot() {
        fi
 
        if [ "$halt" = 1 ]; then
-               /sbin/shutdown -p 15 "$reason"
+               /sbin/shutdown -h 15 "$reason"
        else
-               /sbin/shutdown -p 15 "$reason"
+               /sbin/shutdown -r 15 "$reason"
        fi
 }