File: openbsd-inetd.postrm

package info (click to toggle)
openbsd-inetd 0.20160825-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 948 kB
  • ctags: 1,581
  • sloc: ansic: 21,033; sh: 87; makefile: 83
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#