From fb7c7bdb16a68c3e09f589c61a7a8b333b2d3aea Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Thu, 13 Apr 2006 23:07:14 +0000 Subject: slugos-init: Fixed the turnup script for nas100d. --- packages/slugos-init/files/turnup | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" "$@" } -- cgit v1.2.3