From 4f499fc91a8bcfaa505d37e5e5864f32a23df635 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Sun, 19 May 2019 02:20:32 +0200 Subject: [PATCH] copystation fix autostart --- home.admin/00raspiblitz.sh | 2 +- home.admin/XXcopyStation.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/home.admin/00raspiblitz.sh b/home.admin/00raspiblitz.sh index eea4f85..fb5ade0 100755 --- a/home.admin/00raspiblitz.sh +++ b/home.admin/00raspiblitz.sh @@ -79,7 +79,7 @@ fi if [ "${state}" = "copystation" ]; then echo "Copy Station is Runnning ..." echo "reboot to return to normal" - /home/admin/XXcopyStation.sh + sudo /home/admin/XXcopyStation.sh exit fi diff --git a/home.admin/XXcopyStation.sh b/home.admin/XXcopyStation.sh index 3ab5ad1..1157528 100755 --- a/home.admin/XXcopyStation.sh +++ b/home.admin/XXcopyStation.sh @@ -144,7 +144,7 @@ do # sync bitcoin echo "Syncing Bitcoin ..." - sudo sed -i "s/^message=.*/message='Updating Template: Bitcoin/g" /home/admin/raspiblitz.info 2>/dev/null + sudo sed -i "s/^message=.*/message='Updating Template: Bitcoin'/g" /home/admin/raspiblitz.info 2>/dev/null # make sure the bitcoin directory in template folder exists if [ ! -d "$pathTemplateHDD/bitcoin" ]; then @@ -160,7 +160,7 @@ do # sync bitcoin echo "Syncing Litecoin ..." - sudo sed -i "s/^message=.*/message='Updating Template: Litecoin/g" /home/admin/raspiblitz.info 2>/dev/null + sudo sed -i "s/^message=.*/message='Updating Template: Litecoin'/g" /home/admin/raspiblitz.info 2>/dev/null # make sure the litecoin directory in template folder exists if [ ! -d "$pathTemplateHDD/litecoin" ]; then