In order to support both vcan and USB CAN interface, this patch uses the
unified 'samsungcan0' using udev rules.
Change-Id: I810168a9d3006cd9d709d37b6404b836d69de4df
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Type=dbus
BusName=org.automotive.message.broker
Environment=LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
-ExecStartPre=/usr/sbin/ip link add dev vcan0 type vcan
-ExecStartPre=/usr/sbin/ip link set up vcan0
+ExecStartPre=/bin/bash -c "/usr/bin/can_init.sh vcan"
ExecStart=/usr/bin/ambd -c /etc/ambd/config
[Install]