aboutsummaryrefslogtreecommitdiffstats
path: root/core/openrc/networking.initd
diff options
context:
space:
mode:
Diffstat (limited to 'core/openrc/networking.initd')
-rw-r--r--core/openrc/networking.initd28
1 files changed, 0 insertions, 28 deletions
diff --git a/core/openrc/networking.initd b/core/openrc/networking.initd
deleted file mode 100644
index 2269e6f04f..0000000000
--- a/core/openrc/networking.initd
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/runscript
-
-# note that the spoofprotect, syncoockies and ip_forward options are set in
-# /etc/sysctl.conf
-depend() {
- after bootmisc
- provide net
- keyword nojail noprefix novserver
-}
-
-start() {
- ebegin "Configuring network interfaces"
- ifup -a >/dev/null 2>&1
- eend $?
-}
-
-stop() {
- ebegin "Deconfiguring network interfaces"
- ifdown -a >/dev/null 2>&1
- eend $?
-}
-
-restart() {
- ebegin "Reconfiguring network interfaces"
- ifdown -a >/dev/null 2>&1 && ifup -a >/dev/null 2>&1
- eend $?
-}
-