Status command
This commit is contained in:
parent
90eb44d9cb
commit
fd3f7e0d89
|
@ -243,9 +243,12 @@ function mesh_batman {
|
|||
echo ' start|stop)' >> $batman_script
|
||||
echo ' $1' >> $batman_script
|
||||
echo ' ;;' >> $batman_script
|
||||
echo ' status)' >> $batman_script
|
||||
echo ' batctl o' >> $batman_script
|
||||
echo ' ;;' >> $batman_script
|
||||
echo ' *)' >> $batman_script
|
||||
echo ' echo "error: invalid parameter $1"' >> $batman_script
|
||||
echo ' echo "usage: $0 {start|stop}"' >> $batman_script
|
||||
echo ' echo "usage: $0 {start|stop|status}"' >> $batman_script
|
||||
echo ' exit 2' >> $batman_script
|
||||
echo ' ;;' >> $batman_script
|
||||
echo 'esac' >> $batman_script
|
||||
|
|
Loading…
Reference in New Issue