add workflow

This commit is contained in:
eventlOwOp
2024-05-11 13:04:22 +08:00
parent 6538d69881
commit b59a8f6b0e
33 changed files with 518 additions and 39 deletions
+12
View File
@@ -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