summaryrefslogtreecommitdiff
path: root/packages/slugos-init/files
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-04-13 23:07:14 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-13 23:07:14 +0000
commitfb7c7bdb16a68c3e09f589c61a7a8b333b2d3aea (patch)
tree00d202fa69232acd1319854512676573c0955037 /packages/slugos-init/files
parentc656b2dd1c884b5c0d579b3f511caf0f2cc02d40 (diff)
slugos-init: Fixed the turnup script for nas100d.
Diffstat (limited to 'packages/slugos-init/files')
-rw-r--r--packages/slugos-init/files/turnup5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/slugos-init/files/turnup b/packages/slugos-init/files/turnup
index b365a49dda..0a51e1abf7 100644
--- a/packages/slugos-init/files/turnup
+++ b/packages/slugos-init/files/turnup
@@ -84,7 +84,10 @@ get_flash() {
return 1
}
- ffsdev="$(mtblockdev Flashdisk)"
+ case "$(machine)" in
+ nas100d) ffsdev="$(mtblockdev filesystem)";;
+ *) ffsdev="$(mtblockdev Flashdisk)";;
+ esac
umountflash "$ffsdev" &&
mountflash "$ffsdev" "$ffsdir" "$@"
}