Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
snaptec committed Nov 9, 2019
1 parent 03e219e commit 464acb2
Show file tree
Hide file tree
Showing 44 changed files with 8,053 additions and 839 deletions.
47 changes: 47 additions & 0 deletions auslademodus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,36 @@ auslademodus(){
echo "$date LP3, Lademodus Stop. Stoppe Ladung" >> ramdisk/ladestatus.log

fi
if grep -q 1 "/var/www/html/openWB/ramdisk/ladestatuslp4"; then
runs/set-current.sh 0 lp4
echo "$date LP4, Lademodus Stop. Ladefreigabe noch aktiv. Stoppe Ladung" >> ramdisk/ladestatus.log
fi
if grep -q 1 "/var/www/html/openWB/ramdisk/ladestatuslp5"; then
runs/set-current.sh 0 lp5
echo "$date LP5, Lademodus Stop. Ladefreigabe noch aktiv. Stoppe Ladung" >> ramdisk/ladestatus.log
fi
if grep -q 1 "/var/www/html/openWB/ramdisk/ladestatuslp6"; then
runs/set-current.sh 0 lp6
echo "$date LP6, Lademodus Stop. Stoppe Ladung" >> ramdisk/ladestatus.log
fi
if grep -q 1 "/var/www/html/openWB/ramdisk/ladestatuslp7"; then
runs/set-current.sh 0 lp7
echo "$date LP7, Lademodus Stop. Stoppe Ladung" >> ramdisk/ladestatus.log
fi
if grep -q 1 "/var/www/html/openWB/ramdisk/ladestatuslp8"; then
runs/set-current.sh 0 lp8
echo "$date LP8, Lademodus Stop. Stoppe Ladung" >> ramdisk/ladestatus.log
fi
if (( llkombiniert > 300 )); then
runs/set-current.sh 0 m
runs/set-current.sh 0 s1
runs/set-current.sh 0 s2
runs/set-current.sh 0 lp4
runs/set-current.sh 0 lp5
runs/set-current.sh 0 lp6
runs/set-current.sh 0 lp7
runs/set-current.sh 0 lp8

echo "$date Alle Ladepunkte, Lademodus Stop. Stoppe Ladung" >> ramdisk/ladestatus.log

fi
Expand All @@ -37,5 +63,26 @@ semiauslademodus(){
runs/set-current.sh 0 s2
echo "$date LP3, Lademodus Standby. Ladefreigabe noch aktiv. Stoppe Ladung" >> ramdisk/ladestatus.log
fi
if grep -q 1 "/var/www/html/openWB/ramdisk/ladestatuslp4"; then
runs/set-current.sh 0 lp4
echo "$date LP4, Lademodus Standby. Ladefreigabe noch aktiv. Stoppe Ladung" >> ramdisk/ladestatus.log
fi
if grep -q 1 "/var/www/html/openWB/ramdisk/ladestatuslp5"; then
runs/set-current.sh 0 lp5
echo "$date LP5, Lademodus Standby. Ladefreigabe noch aktiv. Stoppe Ladung" >> ramdisk/ladestatus.log
fi
if grep -q 1 "/var/www/html/openWB/ramdisk/ladestatuslp6"; then
runs/set-current.sh 0 lp6
echo "$date LP6, Lademodus Standby. Ladefreigabe noch aktiv. Stoppe Ladung" >> ramdisk/ladestatus.log
fi
if grep -q 1 "/var/www/html/openWB/ramdisk/ladestatuslp7"; then
runs/set-current.sh 0 lp7
echo "$date LP7, Lademodus Standby. Ladefreigabe noch aktiv. Stoppe Ladung" >> ramdisk/ladestatus.log
fi
if grep -q 1 "/var/www/html/openWB/ramdisk/ladestatuslp8"; then
runs/set-current.sh 0 lp8
echo "$date LP8, Lademodus Standby. Ladefreigabe noch aktiv. Stoppe Ladung" >> ramdisk/ladestatus.log
fi

exit 0
}
Loading

0 comments on commit 464acb2

Please sign in to comment.