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 committed 2012-04-03 20:01:23 -05:00
1 parent 37af1693b4
commit be5de328e9
3 files changed
+3 -6

No files matched your search

+3
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
-3
View File
@@ -5,9 +5,6 @@ ifconfig_depend()
{
program /sbin/ifconfig /bin/ifconfig
provide interface
case "${IFACE}" in
lo|lo0) need sysfs ;;
esac
}
_up()
-3
View File
@@ -6,9 +6,6 @@ iproute2_depend()
program ip
provide interface
after ifconfig
case "${IFACE}" in
lo|lo0) need sysfs ;;
esac
}
_up()