summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/pfSense.obsoletedfiles1
-rwxr-xr-xsrc/etc/rc.bootup5
-rwxr-xr-xsrc/etc/rc.reboot4
3 files changed, 1 insertions, 9 deletions
diff --git a/src/etc/pfSense.obsoletedfiles b/src/etc/pfSense.obsoletedfiles
index b6135af..cb649d5 100644
--- a/src/etc/pfSense.obsoletedfiles
+++ b/src/etc/pfSense.obsoletedfiles
@@ -218,6 +218,7 @@
/sbin/mount_oldnfs
/sbin/mount_procfs
/sbin/ppp-script
+/sbin/shutdown.old
/scripts/dev_bootstrap.sh
/tmp/post_upgrade_command
/tmp/post_upgrade_command.php
diff --git a/src/etc/rc.bootup b/src/etc/rc.bootup
index 22a2316..5629102 100755
--- a/src/etc/rc.bootup
+++ b/src/etc/rc.bootup
@@ -347,11 +347,6 @@ activate_powerd();
/* Set preferred protocol */
prefer_ipv4_or_ipv6();
-/* Remove the old shutdown binary if we kept it. */
-if (file_exists("/sbin/shutdown.old")) {
- @unlink("/sbin/shutdown.old");
-}
-
/* Resync / Reinstall packages if need be */
if (file_exists('/conf/needs_package_sync')) {
mark_subsystem_dirty('packagelock');
diff --git a/src/etc/rc.reboot b/src/etc/rc.reboot
index f795dec..5acf81a 100755
--- a/src/etc/rc.reboot
+++ b/src/etc/rc.reboot
@@ -44,8 +44,4 @@ fi
sleep 1
SHUTDOWN=/sbin/shutdown
-if [ -f /sbin/shutdown.old ]; then
- SHUTDOWN=/sbin/shutdown.old
-fi
-
$SHUTDOWN -r now
OpenPOWER on IntegriCloud