summaryrefslogtreecommitdiff
path: root/units/ivi-network.service
diff options
context:
space:
mode:
Diffstat (limited to 'units/ivi-network.service')
-rw-r--r--units/ivi-network.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/units/ivi-network.service b/units/ivi-network.service
new file mode 100644
index 0000000..8371fc9
--- /dev/null
+++ b/units/ivi-network.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Set static IP for ivi
+After=connman.service net-config.service
+Requires=connman.service net-config.service
+
+[Service]
+ExecStartPre=/sbin/ifconfig eth0 192.20.16.11
+ExecStart=/sbin/ifconfig eth0 up
+
+[Install]
+WantedBy=multi-user.target