From 46693895a849cd5fcd40f2211e0cba7c437d51b2 Mon Sep 17 00:00:00 2001 From: mmaster Date: Tue, 21 Sep 2021 23:09:37 +0200 Subject: [PATCH] some documentation --- check_playerproc.sh | 4 ++-- poll_button.sh | 2 +- view_birdcam.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/check_playerproc.sh b/check_playerproc.sh index 6f82c65..7d8b29c 100755 --- a/check_playerproc.sh +++ b/check_playerproc.sh @@ -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 diff --git a/poll_button.sh b/poll_button.sh index 76b45ae..768fb37 100755 --- a/poll_button.sh +++ b/poll_button.sh @@ -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 diff --git a/view_birdcam.sh b/view_birdcam.sh index 180ff0d..30b0b44 100755 --- a/view_birdcam.sh +++ b/view_birdcam.sh @@ -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