File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
netifyd/files/etc/uci-defaults Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -27,3 +27,9 @@ if [ -d /etc/netify.d ]; then
2727 rm -rf /etc/netify.d
2828 /usr/sbin/dpi-update
2929fi
30+
31+ # Ensure netifyd service is enabled and started at boot
32+ if ! /etc/init.d/netifyd enabled; then
33+ /etc/init.d/netifyd enable
34+ /etc/init.d/netifyd start
35+ fi
Original file line number Diff line number Diff line change 1111
1212if ! grep -q ' /etc/init.d/dpi-license-update' /etc/crontabs/root; then
1313 echo ' 0 0 * * * sleep $(( RANDOM % 300 )); /etc/init.d/dpi-license-update start' >> /etc/crontabs/root
14+ fi
15+
16+ # Ensure dpi-license-update service is enabled at boot
17+ if ! /etc/init.d/dpi-license-update enabled; then
18+ /etc/init.d/dpi-license-update enable
19+ /etc/init.d/dpi-license-update start
1420fi
Original file line number Diff line number Diff line change 5050 uci -q set flashstart.global.log_level=warning
5151 uci commit flashstart
5252fi
53+
54+ # Ensure ns-flashstart service is enabled and started at boot
55+ if ! /etc/init.d/ns-flashstart enabled; then
56+ /etc/init.d/ns-flashstart enable
57+ /etc/init.d/ns-flashstart start
58+ fi
You can’t perform that action at this time.
0 commit comments