diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ifconfig.sh.Linux.in | 3 | ||||
-rw-r--r-- | net/iproute2.sh | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/net/ifconfig.sh.Linux.in b/net/ifconfig.sh.Linux.in index 8abc9983..a7e3e743 100644 --- a/net/ifconfig.sh.Linux.in +++ b/net/ifconfig.sh.Linux.in @@ -5,6 +5,9 @@ ifconfig_depend() { program /sbin/ifconfig /bin/ifconfig provide interface + case "${IFACE}" in + lo|lo0) need sysfs ;; + esac } _up() diff --git a/net/iproute2.sh b/net/iproute2.sh index b420e41b..c290331d 100644 --- a/net/iproute2.sh +++ b/net/iproute2.sh @@ -6,6 +6,9 @@ iproute2_depend() program ip provide interface after ifconfig + case "${IFACE}" in + lo|lo0) need sysfs ;; + esac } _up() |