Updated config to /config/$1 instead of /config_$1

This commit is contained in:
xdrm-brackets 2018-01-29 13:40:14 +01:00
parent a871500a5c
commit 608bbebc0c
5 changed files with 7 additions and 7 deletions

2
com

@ -1 +1 @@
Subproject commit e84678ac6b9524a2c8a270f2af88a79a59fd2923 Subproject commit 1893a5bd49315840c80517306b4f29dbb6bd0a37

View File

@ -7,10 +7,10 @@ ROOT=$(dirname `realpath $0`);
ROOT=`dirname $ROOT`; ROOT=`dirname $ROOT`;
# (2) Check config file # # (2) Check config file #
test ! -f $ROOT/com/config_sats && echo "Daemon not started" && exit 1; test ! -f $ROOT/com/config/sats && echo "Daemon not started" && exit 1;
# (3) Fetch BUFFERS # # (3) Fetch BUFFERS #
source $ROOT/com/config_sats; source $ROOT/com/config/sats;

View File

@ -7,10 +7,10 @@ ROOT=$(dirname `realpath $0`);
ROOT=`dirname $ROOT`; ROOT=`dirname $ROOT`;
# (2) Check config file # # (2) Check config file #
test ! -f $ROOT/com/config_sats && echo "Daemon not started" && exit 1; test ! -f $ROOT/com/config/sats && echo "Daemon not started" && exit 1;
# (3) Fetch BUFFERS # # (3) Fetch BUFFERS #
source $ROOT/com/config_sats; source $ROOT/com/config/sats;

View File

@ -18,7 +18,7 @@ test ! -f $ROOT/.lock && echo "Daemon not started" && exit 1;
LED="0"; Rx=(0 0 0); # led; relays LED="0"; Rx=(0 0 0); # led; relays
# (2) Get BUF_IN # # (2) Get BUF_IN #
source $ROOT/com/config_ioemu; source $ROOT/com/config/ioemu;
while sleep 1; clear; do while sleep 1; clear; do

View File

@ -18,7 +18,7 @@ test ! -f $ROOT/.lock && echo "Daemon not started" && exit 1;
declare -A SERV; declare -A SERV;
# (2) Get BUF_IN # # (2) Get BUF_IN #
source $ROOT/com/config_ioemu; source $ROOT/com/config/ioemu;
# (3) For each service update # # (3) For each service update #
while sleep 1; clear; do while sleep 1; clear; do