summaryrefslogtreecommitdiffstats
path: root/src/usr/local/share/pfSense/pre_upgrade_command
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/share/pfSense/pre_upgrade_command')
-rw-r--r--src/usr/local/share/pfSense/pre_upgrade_command3
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/*
OpenPOWER on IntegriCloud