diff options
Diffstat (limited to 'packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc.sysinit-diversion.patch')
-rw-r--r-- | packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc.sysinit-diversion.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc.sysinit-diversion.patch b/packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc.sysinit-diversion.patch index e4b0499361..e899fca1e4 100644 --- a/packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc.sysinit-diversion.patch +++ b/packages/nslu2-binary-only/unslung-rootfs-2.3r25/rc.sysinit-diversion.patch @@ -8,8 +8,8 @@ . /etc/rc.d/rc.functions . /etc/sysconfig/network + -+if ( [ -f /mnt/sda2/unslung/rc.sysinit ] && . /mnt/sda2/unslung/rc.sysinit ) ; then return 0 ; fi -+if ( [ -f /mnt/sdb2/unslung/rc.sysinit ] && . /mnt/sdb2/unslung/rc.sysinit ) ; then return 0 ; fi ++if ( [ ! -f /.sda2root ] && [ -f /mnt/sda2/unslung/rc.sysinit ] && . /mnt/sda2/unslung/rc.sysinit ) ; then return 0 ; fi ++if ( [ ! -f /.sdb2root ] && [ -f /mnt/sdb2/unslung/rc.sysinit ] && . /mnt/sdb2/unslung/rc.sysinit ) ; then return 0 ; fi +if ( [ -f /unslung/rc.sysinit ] && . /unslung/rc.sysinit ) ; then return 0 ; fi + mkdir -p /var/lock/samba >/dev/null |