~ubuntu-branches/ubuntu/maverick/krb5/maverick

« back to all changes in this revision

Viewing changes to debian/krb5-kdc.init

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman, Russ Allbery, Sam Hartman
  • Date: 2008-08-21 10:41:41 UTC
  • mfrom: (11.1.15 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080821104141-a0f9c4o4cpo8xd0o
Tags: 1.6.dfsg.4~beta1-4
[ Russ Allbery ]
* Translation updates:
  - Swedish, thanks Martin Bagge.  (Closes: #487669, #491774)
  - Italian, thanks Luca Monducci.  (Closes: #493962)

[ Sam Hartman ]
* Translation Updates:
    - Dutch, Thanks Vincent Zweije, Closes: #495733

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# Required-Start:       $local_fs $remote_fs $network $syslog
5
5
# Required-Stop:        $local_fs $remote_fs $network $syslog
6
6
# Default-Start:        2 3 4 5
7
 
# Default-Stop:         S 0 1 6
 
7
# Default-Stop:         0 1 6
8
8
# Short-Description:    MIT Kerberos KDC
9
9
# Description:          Starts, stops, or restarts the MIT Kerberos KDC.  This
10
10
#                       daemon responds to ticket requests from Kerberos
27
27
# Exit if the package is not installed.
28
28
[ -x "$DAEMON" ] || exit 0
29
29
 
30
 
# Exit if no KDC database has been created.
31
 
[ -f /etc/krb5kdc/stash ] || exit 0
32
 
 
33
30
# Read configuration if it is present.
34
31
[ -r /etc/default/krb5-kdc ] && . /etc/default/krb5-kdc
35
32
 
108
105
    do_stop_kdc
109
106
    case "$?" in
110
107
      0|1)
111
 
        if [ "x$RUN_KRB524D" = "xtrue" ] ; then
112
 
            [ "$VERBOSE" != no ] && log_progress_msg "krb524d"
113
 
            do_stop_krb524d
114
 
            case "$?" in
115
 
              0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
116
 
              2)   [ "$VERBOSE" != no ] && log_end_msg 1 ;;
117
 
            esac
118
 
        else
119
 
            [ "$VERBOSE" != no ] && log_end_msg 0
120
 
        fi
 
108
        [ "$VERBOSE" != no ] && log_progress_msg "krb524d"
 
109
        do_stop_krb524d
 
110
        case "$?" in
 
111
          0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
 
112
          2)   [ "$VERBOSE" != no ] && log_end_msg 1 ;;
 
113
        esac
121
114
        ;;
122
115
      2)
123
116
        [ "$VERBOSE" != no ] && log_end_msg 1