projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netifd: add udhcpc link check to dhcp shell handler script
[openwrt/staging/wigyori.git]
/
package
/
network
/
config
/
netifd
/
files
/
lib
/
netifd
/
proto
/
dhcp.sh
diff --git
a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
index afcfba9f49a737dca9f75ca25aa0ad59a60cd171..a2b0ccedbf3271e5a2793cc00b813247ba8330aa 100755
(executable)
--- a/
package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/
package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
@@
-1,5
+1,7
@@
#!/bin/sh
+[ -L /sbin/udhcpc ] || exit 0
+
. /lib/functions.sh
. ../netifd-proto.sh
init_proto "$@"