Files
MoShiro/packaging/openwrt/updater.init
T
justme cd193378a6
ci/woodpecker/push/web-build Pipeline was successful
ci/woodpecker/push/verify Pipeline failed
ci/woodpecker/push/dev-image Pipeline failed
probe: add native OpenWrt deployment and signed automatic updates [CI]
2026-10-20 14:15:01 +08:00

15 lines
309 B
Bash

#!/bin/sh /etc/rc.common
START=96
STOP=9
USE_PROCD=1
start_service() {
[ -f /etc/moshiro-native.conf ] || return 1
procd_open_instance
procd_set_param command /usr/libexec/moshiro-openwrt daemon
procd_set_param respawn 3600 5 0
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance
}