Updated docker run.sh script

This updates the run.sh script during container start time
to change the env var APRS_PLUGINS to APRSD_PLUGINS
This commit is contained in:
Hemna 2021-01-12 16:17:11 -05:00
parent 54072a2103
commit 264b7536b4
1 changed files with 3 additions and 3 deletions

View File

@ -5,11 +5,11 @@ export PATH=$PATH:$HOME/.local/bin
export VIRTUAL_ENV=$HOME/.venv3
source $VIRTUAL_ENV/bin/activate
if [ ! -z "${APRS_PLUGINS}" ]; then
if [ ! -z "${APRSD_PLUGINS}" ]; then
OLDIFS=$IFS
IFS=','
echo "Installing pypi plugins '$APRS_PLUGINS'";
for plugin in ${APRS_PLUGINS}; do
echo "Installing pypi plugins '$APRSD_PLUGINS'";
for plugin in ${APRSD_PLUGINS}; do
IFS=$OLDIFS
# call your procedure/other scripts here below
echo "Installing '$plugin'"