summaryrefslogtreecommitdiff
path: root/debian/inetutils-telnetd.postinst
blob: 68c1f5f3b2298787546f4cf29a57ffbc639b756d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

if [ "$1" = "configure" ]; then
  if [ -x /usr/sbin/update-inetd ]; then
    update-inetd --group STANDARD \
      --add "#<off># telnet\tstream\ttcp\tnowait\troot\t/usr/sbin/telnetd\ttelnetd"
  fi
fi

#DEBHELPER#

exit 0