mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
firmware: avoid PIPEFILE if not needed #4500
This commit is contained in:
parent
67e3da7600
commit
5542fa450a
@ -47,12 +47,10 @@ echo "***GOT REQUEST TO UPGRADE***" >> ${LOCKFILE}
|
||||
|
||||
if [ -z "${RELEASE}" ]; then
|
||||
# upgrade all packages if possible
|
||||
${TEE} ${LOCKFILE} < ${PIPEFILE} &
|
||||
opnsense-update -p > ${PIPEFILE} 2>&1
|
||||
(opnsense-update -p 2>&1) | ${TEE} ${LOCKFILE}
|
||||
|
||||
# trigger a webgui restart to cope with changes
|
||||
${TEE} ${LOCKFILE} < ${PIPEFILE} &
|
||||
/usr/local/etc/rc.restart_webgui > ${PIPEFILE} 2>&1
|
||||
(/usr/local/etc/rc.restart_webgui 2>&1) | ${TEE} ${LOCKFILE}
|
||||
|
||||
# if we can update base, we'll do that as well
|
||||
${TEE} ${LOCKFILE} < ${PIPEFILE} &
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user