Update rc.local

Modify the stopping criteria.
This commit is contained in:
dianjixz
2025-06-05 18:16:29 +08:00
committed by GitHub
parent a376bc8b73
commit 04b4bb4909
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
[ "$1" == "stop" ] && exit 0 [ "z$1" = "zstop" ] && exit 0
[ -f '/usr/local/m5stack/init.sh' ] && /usr/local/m5stack/init.sh 2>&1 > /dev/null & [ -f '/usr/local/m5stack/init.sh' ] && /usr/local/m5stack/init.sh 2>&1 > /dev/null &
# set otg master # set otg master