some documentation
This commit is contained in:
parent
d07d8378a8
commit
46693895a8
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue