diff options
Diffstat (limited to 'package/lxdm')
-rw-r--r-- | package/lxdm/Makefile | 3 | ||||
-rw-r--r-- | package/lxdm/files/lxdm.init | 28 | ||||
-rw-r--r-- | package/lxdm/files/lxdm.postinst | 3 | ||||
-rw-r--r-- | package/lxdm/files/openadk.png | bin | 0 -> 115297 bytes |
4 files changed, 34 insertions, 0 deletions
diff --git a/package/lxdm/Makefile b/package/lxdm/Makefile index 555194a3d..4f0036360 100644 --- a/package/lxdm/Makefile +++ b/package/lxdm/Makefile @@ -30,5 +30,8 @@ lxdm-install: $(INSTALL_DIR) $(IDIR_LXDM)/usr/share/lxdm/themes $(CP) $(WRKINST)/usr/share/lxdm/themes/* \ $(IDIR_LXDM)/usr/share/lxdm/themes + $(INSTALL_DIR) $(IDIR_LXDM)/usr/share/backgrounds + $(CP) ./files/openadk.png \ + $(IDIR_LXDM)/usr/share/backgrounds/default.png include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/lxdm/files/lxdm.init b/package/lxdm/files/lxdm.init new file mode 100644 index 000000000..40ece255b --- /dev/null +++ b/package/lxdm/files/lxdm.init @@ -0,0 +1,28 @@ +#!/bin/sh +#PKG lxdm +#INIT 95 + +. /etc/rc.conf + +case $1 in +autostop) ;; +autostart) + test x"${lxdm:-NO}" = x"NO" && exit 0 + exec sh $0 start + ;; +start) + /usr/sbin/lxdm + ;; +stop) + kill $(pgrep -f /usr/sbin/lxdm) + ;; +restart) + sh $0 stop + sh $0 start + ;; +*) + echo "Usage: $0 {start | stop | restart}" + exit 1 + ;; +esac +exit $? diff --git a/package/lxdm/files/lxdm.postinst b/package/lxdm/files/lxdm.postinst new file mode 100644 index 000000000..4a038c74d --- /dev/null +++ b/package/lxdm/files/lxdm.postinst @@ -0,0 +1,3 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh +add_rcconf lxdm lxdm YES diff --git a/package/lxdm/files/openadk.png b/package/lxdm/files/openadk.png Binary files differnew file mode 100644 index 000000000..70f9c3bcd --- /dev/null +++ b/package/lxdm/files/openadk.png |