mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3189 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 &
|
|
}
|
|
}
|