]> git.ozlabs.org Git - yaboot.git/blobdiff - ybin/ofpath
Pretend to allocate/deallocate memory correctly
[yaboot.git] / ybin / ofpath
index d596b8b226eb14c4ed7ea997203ce7ea67b77911..5cc33f2a481f9b3b90a72621b50914569a8e364d 100755 (executable)
@@ -27,7 +27,7 @@
 
 PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
 PRG="${0##*/}"
-VERSION=1.0.6
+VERSION=1.0.7
 DEBUG=0
 export LC_COLLATE=C
 
@@ -425,14 +425,6 @@ newworld()
 {
     case "$DEVNODE" in
        sd*)
-           if ls -l /proc/device-tree | grep -q ^lr ; then
-               true
-           else
-               echo 1>&2 "$PRG: /proc/device-tree is broken.  Do not use BootX to boot, use yaboot."
-               echo 1>&2 "$PRG: The yaboot HOWTO can be found here: http://www.alaska.net/~erbenson/doc"
-               return 1
-           fi
-
            ## use common scsiinfo function to get info we need.
            scsiinfo || return 1