diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-05-09 00:26:43 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-05-09 00:26:43 +0000 |
commit | d2f2d3b5c845807249680c275031f94047f9e762 (patch) | |
tree | 1237bb3dc8d677e2e405d11f905e143714638be8 /staging/krb5/krb5-kdc.rc | |
parent | 886d3d0994eb8e9f3e797155619619e0ef1353f8 (diff) |
Mon May 9 00:26:43 UTC 2011
Diffstat (limited to 'staging/krb5/krb5-kdc.rc')
-rw-r--r-- | staging/krb5/krb5-kdc.rc | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/staging/krb5/krb5-kdc.rc b/staging/krb5/krb5-kdc.rc deleted file mode 100644 index 05a03411e..000000000 --- a/staging/krb5/krb5-kdc.rc +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -# general config -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/sbin/krb5kdc` -case "$1" in - start) - stat_busy "Starting Kerberos Authentication" - if [ -z "$PID" ]; then - /usr/sbin/krb5kdc - fi - if [ ! -z "$PID" -o $? -gt 0 ]; then - stat_fail - else - add_daemon krb5-kdc - stat_done - fi - ;; - stop) - stat_busy "Stopping Kerberos Authentication" - [ ! -z "$PID" ] && kill $PID &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon krb5-kdc - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" - ;; -esac -exit 0 |