b2515858d9
SVN-Revision: 3189
7 lines
276 B
Plaintext
7 lines
276 B
Plaintext
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 &
|
|
}
|
|
}
|