do not lock this to wan, allows it to be used on wan interfaces not named wan.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19865 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4cc87aefb7
commit
52b8b16c86
@ -2,7 +2,7 @@ NAME=updatedd
|
||||
CONFIG=/etc/config/$NAME
|
||||
COMMAND=/usr/bin/$NAME
|
||||
|
||||
[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
|
||||
[ "$ACTION" = "ifup" ] && {
|
||||
[ -x $COMMAND ] && [ -r $CONFIG ] && {
|
||||
include /lib/network
|
||||
scan_interfaces
|
||||
|
Loading…
x
Reference in New Issue
Block a user