freebsd-ports/sysutils/comconsole/pkg-install
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
196 B
Bash

#!/bin/sh
[ "x$1" = "x" ] && exit 1
if [ "x$2" = "xPOST-INSTALL" ]; then
echo "-P" > /boot.config
sed -i '' "s|^console.*|console \"/usr/libexec/getty std.9600\" vt100 on secure|" /etc/ttys
fi