File: krb5-kpropd.postinst

package info (click to toggle)
krb5 1.15-1%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 54,220 kB
  • ctags: 32,381
  • sloc: ansic: 310,596; cpp: 16,220; exp: 13,350; python: 7,990; makefile: 7,223; sh: 6,185; perl: 3,518; asm: 1,460; yacc: 1,006; xml: 503; awk: 396; csh: 147; lisp: 104; sed: 43
file content (19 lines) | stat: -rw-r--r-- 583 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh

set -e

# Only try to add the inetd line on an initial installation.  Add it
# commented out in a way that will not be automatically enabled, since the
# Kerberos administrator should do that manually when ready.
#
# If update-inetd isn't available, don't bother, since it's just an example.
if [ "configure" = "$1" ] && which update-inetd >/dev/null 2>&1 ; then
    if [ -z "$2" ] || [ x"$2" = x"<unknown>" ] ; then
        update-inetd --add --group Kerberos \
            '#krb5_prop\tstream\ttcp\tnowait\troot\t/usr/sbin/kpropd kpropd'
    fi
fi

#DEBHELPER#

exit 0