3 DEVICE
=${DEVICE:-$(/sbin/uci -p /var/state get network."$INTERFACE".ifname)}
7 if [ "$INTERFACE" = "lan" ]; then
8 /usr
/sbin
/shorewall start
9 elif [ "${INTERFACE:0:3}" = "wan" ] &&
10 [ "${INTERFACE:$((${#INTERFACE}-2)):2}" != "_6" ]; then
11 /etc
/shorewall
/state
/firewall
enable "$DEVICE"
15 if [ "${INTERFACE:0:3}" = "wan" ]; then
16 /etc
/shorewall
/state
/firewall disable
"$DEVICE"