summaryrefslogtreecommitdiffstats
path: root/security/skip
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2001-02-06 18:07:28 +0000
committerarchie <archie@FreeBSD.org>2001-02-06 18:07:28 +0000
commite0be42abcaf506c180489e612b37f0005c297335 (patch)
treefc5e574f042a1ad86e604c67169e4444e6b15bcd /security/skip
parent87c841cbe2359d68ab0c77ccc2544a148cfdd44c (diff)
downloadFreeBSD-ports-e0be42abcaf506c180489e612b37f0005c297335.zip
FreeBSD-ports-e0be42abcaf506c180489e612b37f0005c297335.tar.gz
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 d569137..4893e91 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"
OpenPOWER on IntegriCloud