summaryrefslogtreecommitdiffstats
path: root/extra/slim/slim
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-06-30 09:11:31 +0200
committertnut <thierryn1 at hispeed dot ch>2010-06-30 09:11:31 +0200
commit6b34c7c0613393049edcb782407b5293491796cf (patch)
tree831d3a6d1f5921fe3b9bbde7be12d12ac269c488 /extra/slim/slim
parentb863c93fc8329443e1cff089f22e9755e7df90d6 (diff)
downloadnutyx-pakxe-6b34c7c0613393049edcb782407b5293491796cf.tar.gz
nutyx-pakxe-6b34c7c0613393049edcb782407b5293491796cf.tar.bz2
nutyx-pakxe-6b34c7c0613393049edcb782407b5293491796cf.tar.xz
nutyx-pakxe-6b34c7c0613393049edcb782407b5293491796cf.zip
slim dans test
Diffstat (limited to 'extra/slim/slim')
-rwxr-xr-xextra/slim/slim37
1 files changed, 0 insertions, 37 deletions
diff --git a/extra/slim/slim b/extra/slim/slim
deleted file mode 100755
index 428d1982b..000000000
--- a/extra/slim/slim
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-# Begin $rc_base/init.d/slim
-
-# $Id: $
-
-. /etc/sysconfig/rc
-. $rc_functions
-lockfile=$(grep lockfile /etc/slim.conf |tr -s " " | cut -d" " -f2)
-pid=$(pidof -o %PPID /usr/X11R6/bin/X)
-
-
-case "$1" in
- start)
- boot_mesg "Starting Simple Login Manager"
- loadproc /usr/bin/slim -d
- ;;
- stop)
- boot_mesg "Stopping Simple Login Manager"
- if [ -f $lockfile ]; then
- rm $lockfile
- fi
- [ ! -z "$pid" ] && kill $pid >/dev/null 2>&1
- if [ $? -gt 0 ]; then
- killproc /usr/bin/slim
- fi
- ;;
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "Usage: $0 start|stop|restart"
- ;;
-esac
-
-# End of file