summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-31 21:19:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-31 21:19:40 +0000
commitc43e09668480fa70a89a763b502e7f9e83027117 (patch)
tree650a020318424b894668d053422be2ac3ddb7643 /etc/rc.firmware
parent951b5dd174799a56b3cad31a705ba551e2aa2ca9 (diff)
downloadpfsense-c43e09668480fa70a89a763b502e7f9e83027117.zip
pfsense-c43e09668480fa70a89a763b502e7f9e83027117.tar.gz
use "/sbin/mount -w -o noatime /" to mount / on upgrade.
for some reason calling php from this script is very problematic. workaround this for now.
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index a4cc10f..c2a82a1 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -147,9 +147,10 @@ pfSenseupgrade)
/bin/mkdir -p /tmp/configbak
cp -p /conf/* /tmp/configbak 2>/dev/null
# mount /cf
+ /etc/rc.conf_mount_rw
/sbin/mount -w -o noatime /cf 2>/dev/null
- /etc/rc.conf_mount_rw
-
+ /sbin/mount -w -o noatime / 2>/dev/null
+
# tar explode image onto hd
echo "Installing $2." | logger -p daemon.info -i -t Upgrade
/usr/bin/tar xzPf $2 -U -C / | logger -p daemon.info -i -t Upgrade
OpenPOWER on IntegriCloud