1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
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

7 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