summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index 02854f4..a9c8e8d 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -23,6 +23,7 @@ restore_chflags() {
remove_chflags() {
chflags -R noschg /
+ chmod -R ug+rw /
}
binary_update() {
@@ -128,6 +129,8 @@ pfSenseupgrade)
# mount /cf
/sbin/mount -w -o noatime /cf
+ remove_chflags
+
# tar explode image onto hd
if [ -r $2 ]; then
echo "Installing $2." | logger -p daemon.info -i -t Upgrade
OpenPOWER on IntegriCloud