aboutsummaryrefslogtreecommitdiff
path: root/security/skip
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2001-02-06 18:07:28 +0000
committerArchie Cobbs <archie@FreeBSD.org>2001-02-06 18:07:28 +0000
commita63c3f332c5a7152c21f97ce2cf2aa8f36c9f227 (patch)
treea4e054b921f210196b0db4451c07103a785e75ec /security/skip
parente878c1beb30cfff31253dd01974ad889cfe132d0 (diff)
downloadports-a63c3f332c5a7152c21f97ce2cf2aa8f36c9f227.tar.gz
ports-a63c3f332c5a7152c21f97ce2cf2aa8f36c9f227.zip
Notes
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 d569137c584d..4893e9184f80 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"