File: telnetd.preinst

package info (click to toggle)
inetutils 2%3A2.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,684 kB
  • sloc: ansic: 132,371; sh: 12,498; yacc: 1,651; makefile: 725; perl: 72
file content (14 lines) | stat: -rw-r--r-- 219 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

if [ "$1" = "upgrade" ]; then
  if [ -x "$(command -v update-inetd)" ]; then
    # Remove netkit telnetd entry.
    update-inetd --pattern 'in\.telnetd' --remove 'telnet'
  fi
fi

#DEBHELPER#

exit 0