add autonight to x-06s

This commit is contained in:
cronyx
2024-02-09 21:03:55 +03:00
parent c7469a89a7
commit 4bb69d527a
3 changed files with 2047 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/sh
case "$1" in
start)
autonight -d 3
;;
stop)
kill -9 $(pidof autonight)
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
;;
esac