Removed init script as there is an hotplug one, check whether user configuration directive is properly set, change the numbering to 10 rather than 15
SVN-Revision: 3189master
parent
3a805b3c51
commit
b2515858d9
@ -1 +1,6 @@ |
||||
[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && /usr/sbin/ez-ipupdate -c /etc/ez-ipupdate.conf & |
||||
PGM=ez-ipupdate |
||||
[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && { |
||||
[ -e /etc/$PGM.conf ] && { |
||||
[ -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 & |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue