diff options
Diffstat (limited to 'packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc.1-diversion.patch')
-rw-r--r-- | packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc.1-diversion.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc.1-diversion.patch b/packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc.1-diversion.patch index 6dd4ca97d3..b0b9ad5dba 100644 --- a/packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc.1-diversion.patch +++ b/packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc.1-diversion.patch @@ -3,8 +3,8 @@ @@ -1,5 +1,17 @@ #!/bin/sh -+if ( [ -f /mnt/sda2/unslung/rc.1 ] && . /mnt/sda2/unslung/rc.1 ) ; then return 0 ; fi -+if ( [ -f /mnt/sdb2/unslung/rc.1 ] && . /mnt/sdb2/unslung/rc.1 ) ; then return 0 ; fi ++if ( [ ! -f /.sda2root ] && [ -f /mnt/sda2/unslung/rc.1 ] && . /mnt/sda2/unslung/rc.1 ) ; then return 0 ; fi ++if ( [ ! -f /.sdb2root ] && [ -f /mnt/sdb2/unslung/rc.1 ] && . /mnt/sdb2/unslung/rc.1 ) ; then return 0 ; fi +if ( [ -f /unslung/rc.1 ] && . /unslung/rc.1 ) ; then return 0 ; fi + +if ( [ -f /proc/hd_conn ] ) ; then |