Debian Codegraph @

debian/krb5-kpropd.postinst

raw
1 #! /bin/sh
2
3 set -e
4
5 # Only try to add the inetd line on an initial installation. Add it
6 # commented out in a way that will not be automatically enabled, since the
7 # Kerberos administrator should do that manually when ready.
8 #
9 # If update-inetd isn't available, don't bother, since it's just an example.
10 if [ "configure" = "$1" ] && which update-inetd >/dev/null 2>&1 ; then
11 if [ -z "$2" ] || [ x"$2" = x"<unknown>" ] ; then
12 update-inetd --add --group Kerberos \
13 '#krb5_prop\tstream\ttcp\tnowait\troot\t/usr/sbin/kpropd kpropd'
14 fi
15 fi
16
17 #DEBHELPER#
18
19 exit 0