diff options
author | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2016-12-21 14:17:58 +0900 |
---|---|---|
committer | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2016-12-21 15:08:16 +0900 |
commit | 9e7d42d049c8a3154c18a7765a716ff5ab6a384f (patch) | |
tree | 160b94587568e4d7e33c937460239c43e0dfecb4 /recipes-demo-hmi/can-lin/files | |
parent | 611806e19ca6da042c5c3ad843c7d988f4e57783 (diff) |
Add systemd service for HVAC demo hardware setup
This change is for booting all stuff for HVAC demo hardware
automatically after WindowManager launched.
Change-Id: I8331aaae3879b4b8496f2c610530fb9fd2c61de1
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'recipes-demo-hmi/can-lin/files')
-rw-r--r-- | recipes-demo-hmi/can-lin/files/hvac-demo.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-demo-hmi/can-lin/files/hvac-demo.service b/recipes-demo-hmi/can-lin/files/hvac-demo.service new file mode 100644 index 000000000..7173f9bf4 --- /dev/null +++ b/recipes-demo-hmi/can-lin/files/hvac-demo.service @@ -0,0 +1,12 @@ +[Unit] +Description = HVAC DEMO hardware startup +After=WindowManager.service + +[Service] +Type=simple +ExecStartPre=-/sbin/ip link add dev vcan0 type vcan +ExecStartPre=-/sbin/ifconfig vcan0 up +ExecStart=/usr/bin/openvt -e /usr/bin/OptoLyzerMoccaApp + +[Install] +WantedBy=default.target |