Browse Source

copystation fix autostart

v1.2
Christian Rotzoll 6 years ago
parent
commit
4f499fc91a
  1. 2
      home.admin/00raspiblitz.sh
  2. 4
      home.admin/XXcopyStation.sh

2
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

4
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

Loading…
Cancel
Save