#!/bin/sh [ "$ACTION" == "ifup" ] || exit 0 [ "$INTERFACE" = "wan" ] && { /etc/init.d/chilli restart }