mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
firmware: shift key extract to "-x" option
We need "-K" for deferred kernel install.
This commit is contained in:
parent
38772514fa
commit
afcb402aae
@ -53,7 +53,7 @@ changelog_url()
|
||||
|
||||
URLPREFIX="https://pkg.opnsense.org/${SYS_ABI}/${CORE_ABI}"
|
||||
|
||||
if [ -n "$(opnsense-update -K)" ]; then
|
||||
if [ -n "$(opnsense-update -x)" ]; then
|
||||
# changelogs differ for business subscriptions
|
||||
URLPREFIX=$(opnsense-update -M)
|
||||
fi
|
||||
|
||||
@ -87,7 +87,7 @@ echo "***GOT REQUEST TO CHECK FOR UPDATES***" >> ${LOCKFILE}
|
||||
echo "Currently running $(opnsense-version) at $(date)" >> ${LOCKFILE}
|
||||
|
||||
# business subscriptions come with additional license metadata
|
||||
if [ -n "$(opnsense-update -K)" ]; then
|
||||
if [ -n "$(opnsense-update -x)" ]; then
|
||||
echo -n "Fetching subscription information, please wait... " >> ${LOCKFILE}
|
||||
if fetch -qT 5 -o ${LICENSEFILE} "$(opnsense-update -M)/subscription" >> ${LOCKFILE} 2>&1; then
|
||||
echo "done" >> ${LOCKFILE}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user