Commit ca54771f authored by Carlos Remuzzi's avatar Carlos Remuzzi
Browse files

parametrizando el nombre de AP

parent 1b459bbb
#!/usr/bin/env bash #!/usr/bin/env bash
AP_NAME=libreCast-s1
SCREEN_WIDTH=1920 SCREEN_WIDTH=1920
SCREEN_HEIGHT=1080 SCREEN_HEIGHT=1080
AP_NAME=libreCast-s1
if [ $# -eq 1 ];then
AP_NAME=$1
fi
echo "connectando a $AP_NAME"
if [ -z `pidof gst-launch-1.0` ];then if [ -z `pidof gst-launch-1.0` ];then
...@@ -13,7 +20,9 @@ if [ -z `pidof gst-launch-1.0` ];then ...@@ -13,7 +20,9 @@ if [ -z `pidof gst-launch-1.0` ];then
if [ $? -eq 1 ];then if [ $? -eq 1 ];then
exit 1 exit 1
fi fi
else
echo "El sistema no cuenta con nmcli"
echo "Es necesario configurar la conexión a $AP_NAME manualmente"
fi fi
# a transmission is not running yet from this machine # a transmission is not running yet from this machine
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment