Files
meta-kineintercom/recipes-apps/kine-services/files/ttyAMA0.service
T

12 lines
230 B
Desktop File

[Unit]
Description=Change owner and group of /dev/ttyAMA0 for KineIntercom
ConditionPathExists=/dev/ttyAMA0
[Service]
User=root
Group=root
ExecStart=/bin/sh -c '/bin/chmod g+rw /dev/ttyAMA0'
[Install]
WantedBy=multi-user.target