summaryrefslogtreecommitdiff
path: root/packages/nslu2-binary-only/unslung-rootfs/unsling
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2006-11-15 15:48:32 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2006-11-15 15:48:32 +0000
commitfe6251ecd5bdd58a5b3ceda9674d57a3850f67fc (patch)
tree6f83d16ddb6c1348ca43425bfa9c117a48079f31 /packages/nslu2-binary-only/unslung-rootfs/unsling
parentaf374dd518159ab5a4eaed6802f4cf50d7cf73dd (diff)
parent7110f87f99bed3015de53af5e42ac3fbb1fda780 (diff)
merge of '0479e731919623fe441e7b76d00e8c836c573157'
and 'bcd222bb88d3e217d64a5699a87a9c1253895f1f'
Diffstat (limited to 'packages/nslu2-binary-only/unslung-rootfs/unsling')
-rwxr-xr-xpackages/nslu2-binary-only/unslung-rootfs/unsling3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/nslu2-binary-only/unslung-rootfs/unsling b/packages/nslu2-binary-only/unslung-rootfs/unsling
index 79584df8b7..6c4dc4ca52 100755
--- a/packages/nslu2-binary-only/unslung-rootfs/unsling
+++ b/packages/nslu2-binary-only/unslung-rootfs/unsling
@@ -185,9 +185,10 @@ fi
# /usr/bin/find / -xdev -print | /usr/bin/cpio -p -d -m -u $targ
# rm -rf $targ/dev ; mv $targ/dev.state $targ/dev
# rm -rf $targ/var ; mv $targ/var.state $targ/var
-echo "./var/tmp" > /tmp/xfile
+echo "./var/tmp" > /tmp/xfile
echo "./dev.state" >> /tmp/xfile
echo "./var.state" >> /tmp/xfile
+echo "./lost+found" >>/tmp/xfile
mkdir -p /tmp/tmprootfs
/bin/mount /dev/mtdblock4 /tmp/tmprootfs
/bin/tar -c -C /tmp/tmprootfs -X /tmp/xfile -f - . | (cd $targ; /bin/tar -x -f -)