Put back together a line that somehow got split in two.

This commit is contained in:
Archie Cobbs 2001-02-06 18:07:28 +00:00
parent e878c1beb3
commit a63c3f332c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38045

View File

@ -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"