update heyu
[openwrt.git] / package / ez-ipupdate / files / ez-ipupdate.hotplug
1 PGM=ez-ipupdate
2 [ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
3 [ -e /etc/$PGM.conf ] && {
4 [ -n $(grep "user=" /etc/$PGM.conf | cut -d= -f2 | cut -d: -f1) ] && [ -n $(grep "user=" /etc/$PGM.conf | cut -d= -f2 | cut -d: -f2) ] && /usr/sbin/$PGM -c /etc/$PGM.conf &
5 }
6 }
This page took 0.068932 seconds and 5 git commands to generate.