summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-06 16:55:04 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-06 16:55:04 +0000
commitd20aaef3a3cb81523751c51a3008b7d4ab09f4b5 (patch)
treec8918565848a3125a8f80b2d1af7fbbfbc0f456c /etc/rc.firmware
parentc813af6ddc6adbecefd61ec4974b7f94f2f78323 (diff)
downloadpfsense-d20aaef3a3cb81523751c51a3008b7d4ab09f4b5.zip
pfsense-d20aaef3a3cb81523751c51a3008b7d4ab09f4b5.tar.gz
Remove /etc/rc.subr and /etc/rc.d after upgrade if it exists. We have our own rc process.
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index 1d3a12d..719792e 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -154,6 +154,10 @@ pfSenseupgrade)
rm /etc/hosts
ln -s /var/etc/hosts /etc/hosts
+ # we dont use freebsd's rc, we have our own.
+ rm -rf /etc/rc.subr
+ rm -rf /etc/rc.d
+
restore_chflags
# remount /cf ro
OpenPOWER on IntegriCloud