File: inetutils-ftpd.postinst

package info (click to toggle)
inetutils 2%3A2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 17,312 kB
  • sloc: ansic: 125,847; sh: 12,435; yacc: 1,651; makefile: 697; perl: 72
file content (14 lines) | stat: -rw-r--r-- 269 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

if [ "$1" = "configure" ]; then
  if [ -x "$(command -v update-inetd)" ]; then
    update-inetd --group STANDARD \
      --add "#<off># ftp\tstream\ttcp\tnowait\troot\t/usr/sbin/tcpd\t/usr/sbin/ftpd --logging --auth=pam"
  fi
fi

#DEBHELPER#

exit 0