summaryrefslogtreecommitdiff
path: root/services/ifcfg.in
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-04-27 22:38:01 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-04-28 13:52:01 +0200
commita22a212d3abdfbce445228c0cdce39a363cc666b (patch)
treeb5e80c2cb10d1049c9572183c189d6be3944a482 /services/ifcfg.in
parent0ded4765344b6360cf4f030909d5bbe736a1a584 (diff)
Add service and helper script for static network configuration
After interface renaming is done, perform the following actions: - Configure each interface for which we have a configuration file - Configuration file contains lines that we pass directly to iproute2 - Configure static routing in a similar fashion - Set the configured interfaces up Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'services/ifcfg.in')
-rw-r--r--services/ifcfg.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/services/ifcfg.in b/services/ifcfg.in
new file mode 100644
index 0000000..940a289
--- /dev/null
+++ b/services/ifcfg.in
@@ -0,0 +1,6 @@
+description "static network configuration"
+type wait
+target boot
+after sysinit ifrename
+
+exec "@SCRIPTDIR@/ifcfg.sh" \ No newline at end of file