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