Update install-powerwall.sh
This commit is contained in:
@@ -16,15 +16,15 @@ fi
|
|||||||
echo ""
|
echo ""
|
||||||
echo -e "${idsCL[LightGreen]}PowerWall Installation Script${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}PowerWall Installation Script${idsCL[Default]}"
|
||||||
|
|
||||||
do_with_root $APTFUNC -y install wget curl git
|
$APTFUNC -y install wget curl git
|
||||||
|
|
||||||
do_with_root set -eu
|
git clone https://git.schroedercity.com/voltron/powerwall.git /opt/idssys/powerwall
|
||||||
do_with_root git clone https://git.schroedercity.com/voltron/powerwall.git /opt/idssys/powerwall
|
ln -s /opt/idssys/powerwall/run.sh /usr/local/bin/powerwall
|
||||||
do_with_root ln -s /opt/idssys/powerwall/run.sh /usr/local/bin/powerwall
|
ln -s /opt/idssys/powerwall/run.sh /usr/local/bin/pw
|
||||||
|
|
||||||
if [ ! -d "/opt/idssys/defaults" ]; then
|
if [ ! -d "/opt/idssys/defaults" ]; then
|
||||||
do_with_root set -eu
|
set -eu
|
||||||
do_with_root git clone https://git.schroedercity.com/voltron/iDS-Defaults.git /opt/idssys/defaults
|
git clone https://git.schroedercity.com/voltron/iDS-Defaults.git /opt/idssys/defaults
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "" > /opt/idssys/powerwall/settings.conf
|
echo -e "" > /opt/idssys/powerwall/settings.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user