summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" "$@"
}