🌴 Sync 2026-03-05 23:51:42

This commit is contained in:
github-actions[bot] committed 2026-03-05 23:51:42 +08:00
1 parent 97c049ed0a
commit 0acff03804
14253 files changed
+3893239

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
#!/bin/sh /etc/rc.common
# Copyright (c) 2011-2015 OpenWrt.org
START=99
start() {
if [ ! -f "/var/run/cellled.pid" ]; then
/usr/bin/cellled >/dev/null 2>&1 &
PID=$(pgrep -f /usr/bin/cellled)
if [ $PID ]; then
echo $PID > /var/run/cellled.pid
fi
fi
return 0
}
stop() {
rm -f /var/run/cellled.pid
kill $(pgrep -f /usr/bin/cellled) >/dev/null 2>&1
/etc/init.d/led start
}
restart(){
stop
sleep 1
start
}
boot() {
(sleep 5 && start >/dev/null 2>&1) &
return 0
}