unslung-rootfs: Updated unsling to match new kernel mapping of drives.
authorRod Whitby <rod@whitby.id.au>
Mon, 5 Dec 2005 07:50:27 +0000 (07:50 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 5 Dec 2005 07:50:27 +0000 (07:50 +0000)
packages/nslu2-binary-only/unslung-rootfs/unsling

index b784378..c78bb7b 100755 (executable)
@@ -12,22 +12,22 @@ fi
 if [ $# -eq 1 ] ; then
     if [ "$1" = "disk1" ] ; then
        targ=/share/hdd/data
-       flag=.sda1root
+       flag=.sdb1root
     elif [ "$1" = "disk2" ] ; then
        targ=/share/flash/data
-       flag=.sdb1root
+       flag=.sda1root
     elif [ "$1" = "hdd-data" ] ; then
        targ=/share/hdd/data
-       flag=.sda1root
+       flag=.sdb1root
     elif [ "$1" = "hdd-conf" ] ; then
        targ=/share/hdd/conf
-       flag=.sda2root
+       flag=.sdb2root
     elif [ "$1" = "flash-data" ] ; then
        targ=/share/flash/data
-       flag=.sdb1root
+       flag=.sda1root
     elif [ "$1" = "flash-conf" ] ; then
        targ=/share/flash/conf
-       flag=.sdb2root
+       flag=.sda2root
     else
        echo $usage
        exit 1