large init script cleanup and merge of whiterussian changes, new dnsmasq config handling
[openwrt.git] / openwrt / package / ez-ipupdate / files / ez-ipupdate.hotplug
1 NAME=ez-ipupdate
2 CONFIG=/etc/$NAME.conf
3 COMMAND=/usr/sbin/$NAME
4
5 [ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
6 [ -x $COMMAND ] && [ -r $CONFIG ] && {
7 eval "ifname=\"\${${INTERFACE}_ifname}\""
8 $COMMAND -c $CONFIG -i $ifname 2>&1 | logger -t $NAME
9 } &
10 }
This page took 0.044675 seconds and 5 git commands to generate.