port changes in whiterussian ([3341]) to trunk.
[openwrt.git] / openwrt / package / ez-ipupdate / files / ez-ipupdate.hotplug
1 . /etc/functions.sh
2 NAME=ez-ipupdate
3 CONFIG=/etc/$NAME.conf
4 COMMAND=/usr/sbin/$NAME
5 [ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
6 [ -x $COMMAND ] && [ -r $CONFIG ] && {
7 IFNAME=$(nvram get ${INTERFACE}_ifname)
8 $COMMAND -c $CONFIG -i $IFNAME 2>&1 | logger -t $NAME
9 } &
10 }
This page took 0.046 seconds and 5 git commands to generate.