add workflow
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
pipe=/data/adb/zerotier/run/pipe
|
||||
if [[ ! -p $pipe ]]; then
|
||||
echo "daemon not running"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ "$1" ]]; then
|
||||
echo "$1" > $pipe
|
||||
else
|
||||
echo "Usage: zerotier.sh {start|stop|restart|join|leave}"
|
||||
fi
|
||||
Reference in New Issue
Block a user