summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 408949a..a433568 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -372,6 +372,10 @@ upnp_start();
/* If powerd is enabled, lets launch it */
activate_powerd();
+/* Remove the old shutdown binary if we kept it. */
+if (file_exists("/sbin/shutdown.old"))
+ unlink("/sbin/shutdown.old");
+
/* done */
unset($g['booting']);
OpenPOWER on IntegriCloud