Fix #5831 using a simpler approach, just setting REPO_AUTOUPDATE=false when it's booting

This commit is contained in:
Renato Botelho 2016-02-02 10:38:30 -02:00
parent 1855c106e5
commit b69a106aa2

View File

@ -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