summaryrefslogtreecommitdiff
path: root/extra/slim
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-05-02 00:29:16 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-05-02 00:29:16 +0000
commit3be02a9acbeb006d9a9e6136c54d91064cc7d80e (patch)
treeade247e1b6c47fbd7362273f59d3ae4f955587a7 /extra/slim
parent40f0b1c7106cc1fed13f14e80f083ecd69c416f5 (diff)
Mon May 2 00:29:22 UTC 2011
Diffstat (limited to 'extra/slim')
-rwxr-xr-xextra/slim/slim36
-rw-r--r--extra/slim/slim.install7
-rw-r--r--extra/slim/slim.logrotate9
-rw-r--r--extra/slim/slim.pam10
4 files changed, 0 insertions, 62 deletions
diff --git a/extra/slim/slim b/extra/slim/slim
deleted file mode 100755
index b0be7ffc5..000000000
--- a/extra/slim/slim
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/bin/slim`
-case "$1" in
- start)
- stat_busy "Starting Simple Login Manager"
- [ -z "$PID" ] && /usr/bin/slim -d &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon slim
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Simple Login Manager"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon slim
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/slim/slim.install b/extra/slim/slim.install
deleted file mode 100644
index 65aa77d72..000000000
--- a/extra/slim/slim.install
+++ /dev/null
@@ -1,7 +0,0 @@
-post_install() {
- cat <<EOF
-
-==> Add slim to the DAEMONS array in /etc/rc.conf or update /etc/inittab.
-
-EOF
-}
diff --git a/extra/slim/slim.logrotate b/extra/slim/slim.logrotate
deleted file mode 100644
index 26ec3b0f4..000000000
--- a/extra/slim/slim.logrotate
+++ /dev/null
@@ -1,9 +0,0 @@
-/var/log/slim.log {
- compress
- rotate 1
- size 1024k
- notifempty
- missingok
- copytruncate
- noolddir
-}
diff --git a/extra/slim/slim.pam b/extra/slim/slim.pam
deleted file mode 100644
index 78a981f74..000000000
--- a/extra/slim/slim.pam
+++ /dev/null
@@ -1,10 +0,0 @@
-#%PAM-1.0
-auth requisite pam_nologin.so
-auth required pam_env.so
-auth required pam_unix.so
-account required pam_unix.so
-password required pam_unix.so
-session required pam_limits.so
-session required pam_unix.so
-session optional pam_loginuid.so
-session optional pam_ck_connector.so