diff options
author | agc <agc@pkgsrc.org> | 2000-01-11 11:32:11 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-01-11 11:32:11 +0000 |
commit | b47bd847625878cc10ba05910201966794c135fa (patch) | |
tree | 484221b259ec7f8cf368614998bea0e223c9a0c7 /audio/rio/files | |
parent | 1e43bb2f848f9ed6a129cf5f7b8e935c98e01f4d (diff) | |
download | pkgsrc-b47bd847625878cc10ba05910201966794c135fa.tar.gz |
Extra files for working rio program.
Diffstat (limited to 'audio/rio/files')
-rw-r--r-- | audio/rio/files/find-lpt-port | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/rio/files/find-lpt-port b/audio/rio/files/find-lpt-port new file mode 100644 index 00000000000..72e0ef8b74a --- /dev/null +++ b/audio/rio/files/find-lpt-port @@ -0,0 +1,12 @@ +#! /bin/sh +# $NetBSD: find-lpt-port,v 1.1 2000/01/11 11:32:11 agc Exp $ +# +# Small shell script to find the lpt port easily + +if [ -e /var/run/dmesg.boot ]; then + bootfile="/var/run/dmesg.boot" +else + bootfile='`dmesg`' +fi +@AWK@ '/^lp[at][0-9]+/ { gsub("\-.*", "", $5); print $5 }' < $bootfile +exit 0 |