From e0be42abcaf506c180489e612b37f0005c297335 Mon Sep 17 00:00:00 2001 From: archie Date: Tue, 6 Feb 2001 18:07:28 +0000 Subject: Put back together a line that somehow got split in two. --- security/skip/files/patch-bq | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'security/skip') 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" -- cgit v1.1