mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
Patch to allow running from PREFIX without copying (caveat-- must be on root filesystem!) Various minor runtime fixes
9 lines
382 B
Plaintext
9 lines
382 B
Plaintext
--- etc/freebsd/getty-ttyv4/whichtty 1970-01-01 01:00:00.000000000 +0100
|
|
+++ etc/freebsd/getty-ttyv4/whichtty 2016-08-10 22:34:36.558752671 +0100
|
|
@@ -0,0 +1,5 @@
|
|
+realpath=`realpath $0`
|
|
+dirname=`dirname $realpath`
|
|
+dirname=`basename $dirname`
|
|
+tty=`expr $dirname : 'getty-\(ttyv[0-9]\)'`
|
|
+[ -z "${tty%0}" ] && echo "Name of directory must be getty-ttyvx, where x is 0-9" && exit 1
|