From cd88352b6f7bd8144aab088ebc90f65aa081eb9e Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 27 Apr 2005 23:18:50 +0000 Subject: run remove_chflags before upgrading.. they will be restored by the tgz --- etc/rc.firmware | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc/rc.firmware') 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 -- cgit v1.1