dhcpcd could be anywhere, so allow this.
This commit is contained in:
parent
2d95c9a756
commit
acbaacb2c1
@ -24,7 +24,7 @@
|
||||
|
||||
dhcpcd_depend() {
|
||||
after interface
|
||||
program start /sbin/dhcpcd /usr/local/sbin/dhcpcd
|
||||
program start dhcpcd
|
||||
provide dhcp
|
||||
|
||||
# We prefer dhcpcd over the others
|
||||
|
@ -329,9 +329,13 @@ _load_modules() {
|
||||
if [ -n "$1" ]; then
|
||||
x=
|
||||
for x; do
|
||||
[ -x "${x}" ] && break
|
||||
case "${x}" in
|
||||
/*) [ -x "${x}" ] && break;;
|
||||
*) type "${x}" >/dev/null 2>&1 && break;;
|
||||
esac
|
||||
unset x
|
||||
done
|
||||
[ -x "${x}" ] || continue
|
||||
[ -n "${x}" ] || continue
|
||||
fi
|
||||
|
||||
eval provides=\$module_${i}_provide
|
||||
|
Loading…
x
Reference in New Issue
Block a user