mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
Revert "firmware: when calling one of the predefined commands via our launcher, the environment should be initialized."
This reverts commit 1ff4c95f115028cd3786f249ef77500767c904bf. Intended side effect so that the launcher will have access to the vars published by config.sh -- when the launcher starts the actual script the script itself will source the config.sh again causing the env_init() to be called for all participating COMMANDS. This ensures the env_init() call is locked by default.
This commit is contained in:
parent
3b54ba517f
commit
b0fdeae6d2
@ -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 ${1%.sh})
|
||||
SELF=$(basename ${0%.sh})
|
||||
PKG="/usr/local/sbin/pkg"
|
||||
TEE="/usr/bin/tee -a"
|
||||
PRODUCT="OPNsense"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user