diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-31 21:19:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-31 21:19:40 +0000 |
commit | c43e09668480fa70a89a763b502e7f9e83027117 (patch) | |
tree | 650a020318424b894668d053422be2ac3ddb7643 | |
parent | 951b5dd174799a56b3cad31a705ba551e2aa2ca9 (diff) | |
download | pfsense-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.
-rwxr-xr-x | etc/rc.firmware | 5 |
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 |