Files
agnos-builder/userspace/files/agnos-tests.service
T
Adeeb Shihadeh 3668cf59c6 fix rare sound init failure (#138)
* test

* executable

* wait for sound card

* check that too

* update

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-05-11 21:54:10 -07:00

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