summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-12-29 12:13:46 -0200
committerRenato Botelho <renato@netgate.com>2016-12-29 12:13:46 -0200
commit016a0b252eaa4dcbc6c09142393b3d1e16f49908 (patch)
treeaa73425afe6857bbe2fa2b204f506fa4d745fda2 /src/etc
parentb9e0e4206d3e06addef82e6cd69bf591170409f9 (diff)
downloadpfsense-016a0b252eaa4dcbc6c09142393b3d1e16f49908.zip
pfsense-016a0b252eaa4dcbc6c09142393b3d1e16f49908.tar.gz
Remove old hacks used to upgrade from 2.1 to 2.2
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