mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-07-29 09:51:41 +08:00
8 lines
159 B
Bash
8 lines
159 B
Bash
#!/bin/sh
|
|
CONFIG=parentcontrol
|
|
|
|
[ "$ACTION" = ifup ] || exit 0
|
|
[ "$(`uci -q get $CONFIG.@basic[0].enabled`)" == 1 ] || exit 0
|
|
/etc/init.d/parentcontrol start
|
|
|