. /lib/functions.sh
. /lib/functions/network.sh
network_find_wan wan_net_name
[ "$ACTION" = "ifup" ] && \
 [ "$(uci get scutclient.@option[-1].enable)" = "1" ] && \
 [ "$wan_net_name" = "$INTERFACE" ] || exit 0
pgrep -x /usr/bin/scutclient > /dev/null && exit 0
/etc/init.d/scutclient restart