diff options
author | Renato Botelho <renato@netgate.com> | 2015-11-18 10:06:08 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-11-18 10:06:08 -0200 |
commit | 1f6845f84f6219801df6b38df36527108db06001 (patch) | |
tree | 196d4a4b112b1b2410fcf40f6ccf6af88dcd25a0 /src/usr/local/share | |
parent | 147ab4fd2db98a755157b62f5bc565606e0b4c17 (diff) | |
download | pfsense-1f6845f84f6219801df6b38df36527108db06001.zip pfsense-1f6845f84f6219801df6b38df36527108db06001.tar.gz |
At least /boot/loader.rc has schg, make sure to remove it before upgrade. Ticket #5448
Diffstat (limited to 'src/usr/local/share')
-rw-r--r-- | src/usr/local/share/pfSense/pre_upgrade_command | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/local/share/pfSense/pre_upgrade_command b/src/usr/local/share/pfSense/pre_upgrade_command index 3a5f817..d51637e 100644 --- a/src/usr/local/share/pfSense/pre_upgrade_command +++ b/src/usr/local/share/pfSense/pre_upgrade_command @@ -85,5 +85,8 @@ if grep -q 'mtree *-PU' /etc/rc.firmware; then fi fi +# Make sure /boot files are not protected with schg +chflags -R noschg /boot >/dev/null 2>&1 + rm /boot/kernel/* |