corrections de différents bugs de fonctionnement et configuration
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user