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:
William Hubbs 2012-04-03 20:01:23 -05:00
parent 37af1693b4
commit be5de328e9
3 changed files with 3 additions and 6 deletions

View File

@ -19,6 +19,9 @@ depend()
local IFVAR=$(shell_var "${IFACE}")
need localmount
if [ "$RC_UNAME" = Linux ]; then
need sysfs
fi
after bootmisc
keyword -jail -vserver

View File

@ -5,9 +5,6 @@ ifconfig_depend()
{
program /sbin/ifconfig /bin/ifconfig
provide interface
case "${IFACE}" in
lo|lo0) need sysfs ;;
esac
}
_up()

View File

@ -6,9 +6,6 @@ iproute2_depend()
program ip
provide interface
after ifconfig
case "${IFACE}" in
lo|lo0) need sysfs ;;
esac
}
_up()