network scripts need sysfs on linux systems
Adjust the previous commit so that on linux systems the network scripts need sysfs.
This commit is contained in:
parent
37af1693b4
commit
be5de328e9
@ -19,6 +19,9 @@ depend()
|
|||||||
local IFVAR=$(shell_var "${IFACE}")
|
local IFVAR=$(shell_var "${IFACE}")
|
||||||
|
|
||||||
need localmount
|
need localmount
|
||||||
|
if [ "$RC_UNAME" = Linux ]; then
|
||||||
|
need sysfs
|
||||||
|
fi
|
||||||
after bootmisc
|
after bootmisc
|
||||||
keyword -jail -vserver
|
keyword -jail -vserver
|
||||||
|
|
||||||
|
@ -5,9 +5,6 @@ ifconfig_depend()
|
|||||||
{
|
{
|
||||||
program /sbin/ifconfig /bin/ifconfig
|
program /sbin/ifconfig /bin/ifconfig
|
||||||
provide interface
|
provide interface
|
||||||
case "${IFACE}" in
|
|
||||||
lo|lo0) need sysfs ;;
|
|
||||||
esac
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_up()
|
_up()
|
||||||
|
@ -6,9 +6,6 @@ iproute2_depend()
|
|||||||
program ip
|
program ip
|
||||||
provide interface
|
provide interface
|
||||||
after ifconfig
|
after ifconfig
|
||||||
case "${IFACE}" in
|
|
||||||
lo|lo0) need sysfs ;;
|
|
||||||
esac
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_up()
|
_up()
|
||||||
|
Loading…
Reference in New Issue
Block a user