summaryrefslogtreecommitdiff
path: root/packages/nslu2-binary-only/unslung-rootfs-2.3r25/unsling
diff options
context:
space:
mode:
Diffstat (limited to 'packages/nslu2-binary-only/unslung-rootfs-2.3r25/unsling')
-rw-r--r--packages/nslu2-binary-only/unslung-rootfs-2.3r25/unsling5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/nslu2-binary-only/unslung-rootfs-2.3r25/unsling b/packages/nslu2-binary-only/unslung-rootfs-2.3r25/unsling
index 4da1b9ba82..c640630bba 100644
--- a/packages/nslu2-binary-only/unslung-rootfs-2.3r25/unsling
+++ b/packages/nslu2-binary-only/unslung-rootfs-2.3r25/unsling
@@ -108,15 +108,20 @@ else
rm -rf $targ/var ; mv $targ/var.state $targ/var
rm -f /.sda1root /.sda2root /.sdb1root /.sdb2root
+ rm -f $targ/.sda1root $targ/.sda2root $targ/.sdb1root $targ/.sdb2root
if [ "$targ" = "/share/hdd/data" ] ; then
echo > /.sda1root
+ echo > $targ/.sda1root
elif [ "$targ" = "/share/hdd/conf" ] ; then
echo > /.sda2root
+ echo > $targ/.sda2root
elif [ "$targ" = "/share/flash/data" ] ; then
echo > /.sdb1root
+ echo > $targ/.sdb1root
elif [ "$targ" = "/share/flash/conf" ] ; then
echo > /.sdb2root
+ echo > $targ/.sdb2root
fi
fi