corrections de différents bugs de fonctionnement et configuration

This commit is contained in:
2022-12-19 19:44:35 +01:00
parent 93d7f3fb2b
commit e0b5b425ed
11 changed files with 139 additions and 21 deletions
@@ -28,5 +28,5 @@ FILES:${PN} = " \
do_install() {
install -d ${D}/var/www/app-configurateur
cp -a ${WORKDIR}/git/prod/app-configurateur/* ${D}/var/www/app-configurateur
chown -R root:root ${D}/var/www/app-configurateur
chown -R daemon:daemon ${D}/var/www/app-configurateur
}
@@ -0,0 +1,11 @@
[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