summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorSangjung Woo <sangjung.woo@samsung.com>2016-10-10 19:55:24 +0900
committerSangjung Woo <sangjung.woo@samsung.com>2016-10-11 15:55:55 +0900
commitec3acc822eccbc496c03edeba182038b840b1229 (patch)
treea0ba6eadc125da0867ba0f0299bc42c00ec9df58 /units
parent3dd6dd3e5e120200876923ca9a38623ac2779f96 (diff)
downloadsystem-plugin-ec3acc822eccbc496c03edeba182038b840b1229.tar.gz
system-plugin-ec3acc822eccbc496c03edeba182038b840b1229.tar.bz2
system-plugin-ec3acc822eccbc496c03edeba182038b840b1229.zip
In order to communicate with Cluster device, this patch set eth0 as static IP address. This patch is only applied for ivi profile. Change-Id: Iec8f978c37afe7dab9d0fbd12a744a58fec230a3 Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Diffstat (limited to 'units')
-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