From 55755ab627fa3947d88192afae5f842980a62947 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Mon, 29 Jan 2018 13:40:14 +0100 Subject: [PATCH] Updated config to /config/$1 instead of /config_$1 --- com | 2 +- sats/gpio | 4 ++-- sats/sysd | 4 ++-- sub-view/gpio | 2 +- sub-view/systemd | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/com b/com index e84678a..1893a5b 160000 --- a/com +++ b/com @@ -1 +1 @@ -Subproject commit e84678ac6b9524a2c8a270f2af88a79a59fd2923 +Subproject commit 1893a5bd49315840c80517306b4f29dbb6bd0a37 diff --git a/sats/gpio b/sats/gpio index 8f2d916..e034e01 100644 --- a/sats/gpio +++ b/sats/gpio @@ -7,10 +7,10 @@ ROOT=$(dirname `realpath $0`); ROOT=`dirname $ROOT`; # (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 # -source $ROOT/com/config_sats; +source $ROOT/com/config/sats; diff --git a/sats/sysd b/sats/sysd index 6832eec..9623ead 100644 --- a/sats/sysd +++ b/sats/sysd @@ -7,10 +7,10 @@ ROOT=$(dirname `realpath $0`); ROOT=`dirname $ROOT`; # (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 # -source $ROOT/com/config_sats; +source $ROOT/com/config/sats; diff --git a/sub-view/gpio b/sub-view/gpio index e20db1b..e3005a2 100755 --- a/sub-view/gpio +++ b/sub-view/gpio @@ -18,7 +18,7 @@ test ! -f $ROOT/.lock && echo "Daemon not started" && exit 1; LED="0"; Rx=(0 0 0); # led; relays # (2) Get BUF_IN # -source $ROOT/com/config_ioemu; +source $ROOT/com/config/ioemu; while sleep 1; clear; do diff --git a/sub-view/systemd b/sub-view/systemd index bf16406..dd52c07 100755 --- a/sub-view/systemd +++ b/sub-view/systemd @@ -18,7 +18,7 @@ test ! -f $ROOT/.lock && echo "Daemon not started" && exit 1; declare -A SERV; # (2) Get BUF_IN # -source $ROOT/com/config_ioemu; +source $ROOT/com/config/ioemu; # (3) For each service update # while sleep 1; clear; do