mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-07-09 16:52:05 +08:00
3668cf59c6
* test * executable * wait for sound card * check that too * update --------- Co-authored-by: Comma Device <device@comma.ai>
18 lines
457 B
Desktop File
18 lines
457 B
Desktop File
[Unit]
|
|
#After=weston-ready.service
|
|
|
|
[Service]
|
|
#Type=simple
|
|
#User=comma
|
|
Type=oneshot
|
|
Restart=no
|
|
|
|
# exit if connected to 5V
|
|
ExecStartPre=/bin/bash -c "if [ $(cat /sys/class/hwmon/hwmon1/in1_input) -le 6500 ]; then echo 'Exiting, connected to 5V'; exit 1; fi"
|
|
|
|
#ExecStart=/bin/bash -c "source /etc/profile && /usr/comma/tests/test_weston.py"
|
|
ExecStart=/bin/bash -c "source /etc/profile && /usr/comma/tests/test_sounds.py"
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|