an easy and consistent way of installing software ported to FreeBSD
#!/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
This package will setup your PC to use serial port COM1 as its console
device.
Note that this is a special package and you should pkg_add this on a newly
installed system. This is intended to install from installer floppy disk
on a system without its own display nor keyboard.
- SADA Kenji
sada@FreeBSD.ORG
#!/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
@comment We've nothing to do here.