some documentation

This commit is contained in:
mmaster 2021-09-21 23:09:37 +02:00
parent d07d8378a8
commit 46693895a8
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ if [ -z "$gpiocmd" ]; then
echo "Command gpio missing, try to install ..."
echo "Check internet connection ..."
pingserver="raspbian.raspberrypi.org"
pingserver="raspbian.raspberrypi.org" ### var: pingcheck destination
if ! ping -q -c1 $pingserver>/dev/null; then
echo "No internet connection ..."
exit 0
@ -26,7 +26,7 @@ if [ -z "$gpiocmd" ]; then
fi
player="vlc" ### var: player process
gpiopin_led_b="28" ### var: gpio led
gpiopin_led_b="28" ### var: gpio led blue
$gpiocmd mode $gpiopin_led_b out
$gpiocmd write $gpiopin_led_b 0

View File

@ -6,7 +6,7 @@ if [ -z "$gpiocmd" ]; then
echo "Command gpio missing, try to install ..."
echo "Check internet connection ..."
pingserver="raspbian.raspberrypi.org"
pingserver="raspbian.raspberrypi.org" ### var: pingcheck destination
if ! ping -q -c1 $pingserver>/dev/null; then
echo "No internet connection ..."
exit 0

View File

@ -8,7 +8,7 @@ if [ -z "$player_path" ]; then
echo "Missing $player, try to install it ..."
echo "Check internet connection ..."
pingserver="raspbian.raspberrypi.org"
pingserver="raspbian.raspberrypi.org" ### var: pingcheck destination
if ! ping -q -c1 $pingserver>/dev/null; then
echo "No internet connection ..."
exit 0