Use avahi-browse at option

This commit is contained in:
Bob Mottram 2015-08-08 17:28:58 +01:00
parent 91472ca2ae
commit baca04db72
2 changed files with 4 additions and 4 deletions

View File

@ -1675,7 +1675,7 @@ function mesh_babel {
echo '#!/bin/bash' > $babel_script
echo '' >> $babel_script
echo 'if [[ $1 == "ls" || $1 == "list" ]]; then' >> $babel_script
echo ' avahi-browse --all' >> $babel_script
echo ' avahi-browse -at' >> $babel_script
echo ' exit 0' >> $babel_script
echo 'fi' >> $babel_script
echo '' >> $babel_script
@ -1876,7 +1876,7 @@ function mesh_batman_bridge {
echo ' start' >> $batman_script
echo ' ;;' >> $batman_script
echo ' ls|list)' >> $batman_script
echo ' avahi-browse --all' >> $batman_script
echo ' avahi-browse -at' >> $batman_script
echo ' ;;' >> $batman_script
echo ' *)' >> $batman_script
echo ' echo "error: invalid parameter $1"' >> $batman_script

View File

@ -96,7 +96,7 @@ function mesh_babel {
echo '#!/bin/bash' > $babel_script
echo '' >> $babel_script
echo 'if [[ $1 == "ls" || $1 == "list" ]]; then' >> $babel_script
echo ' avahi-browse --all' >> $babel_script
echo ' avahi-browse -at' >> $babel_script
echo ' exit 0' >> $babel_script
echo 'fi' >> $babel_script
echo '' >> $babel_script
@ -290,7 +290,7 @@ function mesh_batman {
echo ' batctl o' >> $batman_script
echo ' ;;' >> $batman_script
echo ' ls|list)' >> $batman_script
echo ' avahi-browse --all' >> $batman_script
echo ' avahi-browse -at' >> $batman_script
echo ' ;;' >> $batman_script
echo ' *)' >> $batman_script
echo ' echo "error: invalid parameter $1"' >> $batman_script