summaryrefslogtreecommitdiffstats
path: root/etc/rc.reboot
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.reboot')
-rwxr-xr-xetc/rc.reboot7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/rc.reboot b/etc/rc.reboot
index ecc47c2..66efae4 100755
--- a/etc/rc.reboot
+++ b/etc/rc.reboot
@@ -23,4 +23,9 @@ fi
sleep 1
-/sbin/shutdown -r now
+SHUTDOWN=/sbin/shutdown
+if [ -f /sbin/shutdown.old ]; then
+ SHUTDOWN=/sbin/shutdown.old
+fi
+
+$SHUTDOWN -r now
OpenPOWER on IntegriCloud