diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-04-27 23:18:50 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-04-27 23:18:50 +0000 |
commit | cd88352b6f7bd8144aab088ebc90f65aa081eb9e (patch) | |
tree | fec41f8bfcfe4a3b8990eb7c2653a08663fc676f /etc/rc.firmware | |
parent | 64d08e72105b7a52cc521c49705800f7ddce1770 (diff) | |
download | pfsense-cd88352b6f7bd8144aab088ebc90f65aa081eb9e.zip pfsense-cd88352b6f7bd8144aab088ebc90f65aa081eb9e.tar.gz |
run remove_chflags before upgrading.. they will be restored by the tgz
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-x | etc/rc.firmware | 3 |
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 |