mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix #5831 using a simpler approach, just setting REPO_AUTOUPDATE=false when it's booting
This commit is contained in:
parent
1855c106e5
commit
b69a106aa2
@ -829,6 +829,10 @@ if [ -z "${booting}" -o "${boot_stage}" != "2" ]; then
|
||||
/etc/rc.conf_mount_rw
|
||||
fi
|
||||
|
||||
if [ -n "${booting}" ]; then
|
||||
export REPO_AUTOUPDATE=false
|
||||
fi
|
||||
|
||||
echo $$ > ${pid_file}
|
||||
|
||||
trap _exit 1 2 15 EXIT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user