diff options
Diffstat (limited to 'package/lxdm/files')
-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 |
3 files changed, 31 insertions, 0 deletions
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 |