projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
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.