File: openbsd-inetd.postrm

package info (click to toggle)
openbsd-inetd 0.20221205-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,080 kB
  • sloc: ansic: 24,214; perl: 110; sh: 81; makefile: 52
file content (10 lines) | stat: -rw-r--r-- 167 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e

if [ "$1" = "purge" ]; then
  if [ -e /etc/inetd.conf ] && ! grep -q '^[[:alnum:][/]' /etc/inetd.conf; then
    rm /etc/inetd.conf
  fi
fi

#DEBHELPER#