X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=ybin%2Fofpath;h=aff5583457e645f878c01e1084e59689cee94b88;hp=b4981d79443c1abe323503951998233fec752f02;hb=b714c2f1ef68d3666d14dd3a96351649468329aa;hpb=1d8bdec959fa2675b7c1b752cac22fa47edb9394 diff --git a/ybin/ofpath b/ybin/ofpath index b4981d7..aff5583 100755 --- a/ybin/ofpath +++ b/ybin/ofpath @@ -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