Use avahi-browse at option
This commit is contained in:
parent
91472ca2ae
commit
baca04db72
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue