diff options
author | Renato Botelho <renato@netgate.com> | 2016-02-02 10:38:30 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-02-02 10:38:47 -0200 |
commit | b69a106aa2ee995cc1e3fb3c161fc8ffb553605b (patch) | |
tree | e4a613265e7d8c71260b571864fb06140f2d52cd /src/usr/local/sbin | |
parent | 1855c106e54158c1075fa60b99eeafe5ff4d4232 (diff) | |
download | pfsense-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/usr/local/sbin')
-rwxr-xr-x | src/usr/local/sbin/pfSense-upgrade | 4 |
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 |