blob: e191442272440bd84d9cf931e1a5cdb3abe145ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
DESCRIPTION = "Script to start a passwordless vnc of the current X session"
LICENSE = "MIT"
RDEPENDS_${PN} = "x11vnc"
PR = "r1"
do_install() {
install -d ${D}/${sysconfdir}/X11/Xinit.d
echo "#!/bin/sh" > ${D}/${sysconfdir}/X11/Xinit.d/02vnc
echo "x11vnc -q -bg -display :0 -forever -avahi" >> ${D}/${sysconfdir}/X11/Xinit.d/02vnc
chmod 0755 ${D}/${sysconfdir}/X11/Xinit.d/02vnc
}
CONFFILES_${PN} += "${sysconfdir}/X11/Xinit.d/02vnc"
PACKAGE_ARCH = "all"
|