aboutsummaryrefslogtreecommitdiffstats
path: root/security/skip
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2001-02-07 02:07:28 +0800
committerarchie <archie@FreeBSD.org>2001-02-07 02:07:28 +0800
commite0be42abcaf506c180489e612b37f0005c297335 (patch)
treefc5e574f042a1ad86e604c67169e4444e6b15bcd /security/skip
parent87c841cbe2359d68ab0c77ccc2544a148cfdd44c (diff)
downloadfreebsd-ports-graphics-e0be42abcaf506c180489e612b37f0005c297335.tar.gz
freebsd-ports-graphics-e0be42abcaf506c180489e612b37f0005c297335.tar.zst
freebsd-ports-graphics-e0be42abcaf506c180489e612b37f0005c297335.zip
Put back together a line that somehow got split in two.
Diffstat (limited to 'security/skip')
-rw-r--r--security/skip/files/patch-bq3
1 files changed, 1 insertions, 2 deletions
diff --git a/security/skip/files/patch-bq b/security/skip/files/patch-bq
index d569137c584..4893e9184f8 100644
--- a/security/skip/files/patch-bq
+++ b/security/skip/files/patch-bq
@@ -106,8 +106,7 @@
+ # Absurd hack to find out device major number
+ # Check for devfs first
+ if [ -z "`mount | grep /dev | grep devfs`" ]; then
-+ DEV_MAJOR=`/sbin/dmesg | grep 'skip: device major=' | tail -1 | sed 's/^.*=\
-([0-9]\{1,\}\),.*$/\1/g'`
++ DEV_MAJOR=`/sbin/dmesg | grep 'skip: device major=' | tail -1 | sed 's/^.*=\([0-9]\{1,\}\),.*$/\1/g'`
+ if [ "${DEV_MAJOR}" = "" ]; then
+ echo ""
+ echo "skip: can't determine skip device major number"