summaryrefslogtreecommitdiff
path: root/recipes-lxde/lxdm/files/init
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-10-30 09:46:40 +0100
committerStefan Agner <stefan.agner@toradex.com>2014-10-30 09:46:40 +0100
commit0cc697317b996ed0ac2c2b42208f0799d0f51b16 (patch)
tree19ee740b92a83a76d56bb29342ee3a116184054b /recipes-lxde/lxdm/files/init
parent9546fc6aa55c9dd516151900f7f467c8a6d53fb6 (diff)
lxdm: remove LXDM 0.4.1 in favor of LXDM 0.5 of meta-openembeddeddaisy
Remove LXDM 0.4.1 receipts in favor of LXDM 0.5 from meta-openembedded. The version 0.5 also supports systemd-logind as login/session manager which allows to remove now unsupported ConsoleKit without losing functionality.
Diffstat (limited to 'recipes-lxde/lxdm/files/init')
-rw-r--r--recipes-lxde/lxdm/files/init41
1 files changed, 0 insertions, 41 deletions
diff --git a/recipes-lxde/lxdm/files/init b/recipes-lxde/lxdm/files/init
deleted file mode 100644
index d8bb4eb..0000000
--- a/recipes-lxde/lxdm/files/init
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-
-. /etc/init.d/functions
-
-DAEMON=/usr/sbin/lxdm
-PIDDIR=/var/run
-PIDFILE=$PIDDIR/lxdm.pid
-
-for x in $(cat /proc/cmdline); do
- case $x in
- x11=false)
- echo "LXDM disabled"
- exit 0;
- ;;
- esac
-done
-
-case "$1" in
- start)
- echo "Starting LXDM"
- start-stop-daemon --start --quiet --pidfile $PIDFILE -m -b \
- --exec $DAEMON
- ;;
-
- stop)
- echo "Stopping LXDM"
- start-stop-daemon --stop --quiet --pidfile $PIDFILE
- ;;
-
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
-
- *)
- echo "usage: $0 { start | stop | restart }"
- ;;
-esac
-
-exit 0