From 376aa54e5cf3eaf6c3fd381365eb4c7cd5d4f9d4 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 20 Apr 2020 14:24:13 -0400 Subject: [PATCH] Move update --- root/etc/cont-init.d/32-sma-setup.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/root/etc/cont-init.d/32-sma-setup.bash b/root/etc/cont-init.d/32-sma-setup.bash index 23d71b3..2bc8f6c 100644 --- a/root/etc/cont-init.d/32-sma-setup.bash +++ b/root/etc/cont-init.d/32-sma-setup.bash @@ -25,7 +25,8 @@ fi # import new config, if does not exist if [ ! -f "/config/scripts/configs/autoProcess.ini" ]; then - cp "/usr/local/sma/setup/autoProcess.ini.sample" "/config/scripts/configs/autoProcess.ini" + cp "/usr/local/sma/setup/autoProcess.ini.sample" "/config/scripts/configs/autoProcess.ini" && \ + python3 /scripts/update.py fi # create sma log file