1
0
This repository has been archived on 2025-06-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openwrt_archive/net/updatedd/files/updatedd.hotplug
2012-05-28 15:12:00 +00:00

15 lines
257 B
Plaintext

NAME=updatedd
CONFIG=/etc/config/$NAME
COMMAND=/usr/bin/$NAME
[ "$ACTION" = "ifup" ] && {
[ -x $COMMAND ] && [ -r $CONFIG ] && {
. /lib/functions/network.sh
local device
network_get_device device wan && {
/etc/init.d/updatedd restart
}
} &
}