Device-trees don't have symlinks made any more
authorPaul Nasrat <pnasrat@redhat.com>
Tue, 28 Nov 2006 14:36:02 +0000 (14:36 +0000)
committerPaul Nasrat <pauln@enki.eridu>
Tue, 28 Nov 2006 14:36:02 +0000 (14:36 +0000)
ybin/ofpath

index b4981d79443c1abe323503951998233fec752f02..aff5583457e645f878c01e1084e59689cee94b88 100755 (executable)
@@ -687,12 +687,6 @@ chrp()
 {
     case "$DEVNODE" in
        sd*)
-           if ls -l /proc/device-tree | grep -q ^d ; then
-               true
-           else
-               echo 1>&2 "$PRG: /proc/device-tree is broken."
-               return 1
-           fi
 
            ## use common scsiinfo function to get info we need.
            scsiinfo || return 1