aboutsummaryrefslogtreecommitdiffstats
path: root/main/openrc/networking.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/openrc/networking.initd')
-rw-r--r--main/openrc/networking.initd7
1 files changed, 5 insertions, 2 deletions
diff --git a/main/openrc/networking.initd b/main/openrc/networking.initd
index 417f4a3c6f7..adae1b66cb0 100644
--- a/main/openrc/networking.initd
+++ b/main/openrc/networking.initd
@@ -1,5 +1,8 @@
#!/sbin/openrc-run
+# Copyright (c) Natanael Copa
+# This code is licensed under BSD-2-Clause
+#
# note that the spoofprotect, syncoockies and ip_forward options are set in
# /etc/sysctl.conf
@@ -13,7 +16,7 @@ if [ "$single_iface" = "$RC_SVCNAME" ]; then
fi
depend() {
- need localmount
+ need localmount hostname
want dev-settle
after bootmisc hwdrivers modules
provide net
@@ -28,7 +31,7 @@ find_ifaces() {
fi
if command -v "$ifquery" >/dev/null; then
- $ifquery -i "$cfgfile" --list --auto
+ $ifquery -i "$cfgfile" --list -a
return
fi