mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
* Add rc.config_unlock and rc.conf_lock
* Use rc.conf_lock and rc.conf_unlock during boot
This commit is contained in:
parent
86b0a8f544
commit
f92eaec293
4
etc/rc
4
etc/rc
@ -27,6 +27,8 @@ SWAPDEVICE=`cat /etc/fstab | grep swap | cut -f1`
|
||||
/bin/mkdir -p /usr/savecore 2>/dev/null
|
||||
/sbin/savecore /usr/savecore $SWAPDEVICE
|
||||
|
||||
/etc/rc.config_unlock
|
||||
|
||||
rm -rf /var/run/*
|
||||
rm -rf /tmp/*
|
||||
|
||||
@ -90,5 +92,7 @@ done
|
||||
echo Final firewall setup in progress...
|
||||
/etc/rc.filter_configure
|
||||
|
||||
/etc/rc.config_lock
|
||||
|
||||
exit 0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user