summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-02-02 10:38:30 -0200
committerRenato Botelho <renato@netgate.com>2016-02-02 10:38:47 -0200
commitb69a106aa2ee995cc1e3fb3c161fc8ffb553605b (patch)
treee4a613265e7d8c71260b571864fb06140f2d52cd /src
parent1855c106e54158c1075fa60b99eeafe5ff4d4232 (diff)
downloadpfsense-b69a106aa2ee995cc1e3fb3c161fc8ffb553605b.zip
pfsense-b69a106aa2ee995cc1e3fb3c161fc8ffb553605b.tar.gz
Fix #5831 using a simpler approach, just setting REPO_AUTOUPDATE=false when it's booting
Diffstat (limited to 'src')
-rwxr-xr-xsrc/usr/local/sbin/pfSense-upgrade4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usr/local/sbin/pfSense-upgrade b/src/usr/local/sbin/pfSense-upgrade
index b3edf96..11f970d 100755
--- a/src/usr/local/sbin/pfSense-upgrade
+++ b/src/usr/local/sbin/pfSense-upgrade
@@ -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
OpenPOWER on IntegriCloud