aboutsummaryrefslogtreecommitdiff
path: root/init.d/net.lo.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/net.lo.in')
-rw-r--r--init.d/net.lo.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/init.d/net.lo.in b/init.d/net.lo.in
index 8f4ea9ba..1615b0ce 100644
--- a/init.d/net.lo.in
+++ b/init.d/net.lo.in
@@ -18,14 +18,13 @@ depend()
local IFACE=${RC_SVCNAME#*.}
local IFVAR=$(shell_var "${IFACE}")
- need localmount
after bootmisc
provide net
keyword -jail -prefix -vserver
case "${IFACE}" in
- lo|lo0);;
- *) after net.lo net.lo0;;
+ lo|lo0) need root ;;
+ *) after net.lo net.lo0 ; need localmount ;;
esac
if [ "$(command -v "depend_${IFVAR}")" = "depend_${IFVAR}" ]; then