mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
firmware: when calling one of the predefined commands via our launcher, the environment should be initialized.
While debugging some missing TLS parameters, I noticed the ciphers where different than expected. Digging a bit deeper seemed to indicate env_init() wasn't called on my end. If SELF should be the command, the intention was likely to pass the parameter instead of the script name (which is always launcher) cc @fichtner
This commit is contained in:
parent
2ff993ea57
commit
1ff4c95f11
@ -30,7 +30,7 @@ LOCKFILE=${LOCKFILE:-/tmp/pkg_upgrade.progress}
|
||||
BASEDIR="/usr/local/opnsense/scripts/firmware"
|
||||
PIPEFILE="/tmp/pkg_upgrade.pipe"
|
||||
FLOCK="/usr/local/bin/flock"
|
||||
SELF=$(basename ${0%.sh})
|
||||
SELF=$(basename ${1%.sh})
|
||||
TEE="/usr/bin/tee -a"
|
||||
PRODUCT="OPNsense"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user