freebsd-ports/sysutils/comconsole/pkg-deinstall
Alejandro Pulver b4ddf7d22f - Fix pkg-install and pkg-deinstall scripts to properly handle /boot.config
and /etc/ttys.
- Remove BROKEN, DEPRECATED and EXPIRATION_DATE.

PR:		ports/104312
Submitted by:	Frank J. Laszlo <laszlof@vonostingroup.com>
Approved by:	portmgr (erwin)
2006-10-21 13:39:05 +00:00

6 lines
166 B
Bash

#!/bin/sh
[ "x$1" = "x" ] && exit 1
if [ "x$2" = "xDEINSTALL" ]; then
sed -i '' "s|^console.*|console none unknown off secure|" /etc/ttys
rm -f /boot.config
fi