|
|
| version 1.11.2.3, 2017/06/18 21:01:32 | version 1.11.2.5, 2017/06/20 08:49:03 |
|---|---|
| Line 39 clean_fsdir() | Line 39 clean_fsdir() |
| build_fsdir() | build_fsdir() |
| { | { |
| # | |
| # Structure of ELWIX CF Drive mount on /elwix | |
| # | |
| echo "+++ Build ELWIX FS directory ... $1" | echo "+++ Build ELWIX FS directory ... $1" |
| mkdir -p $1 | mkdir -p $1 |
| Line 48 build_fsdir() | Line 51 build_fsdir() |
| # cf | # cf |
| install -d cf; | install -d cf; |
| case ${TARGET} in | case ${TARGET} in |
| i386) | i386|amd64) |
| ln -fs /dev/ada0g cf/map.cfg | ln -fs /dev/ada0g cf/map.cfg |
| ;; | ;; |
| mips) | mips) |
| Line 57 build_fsdir() | Line 60 build_fsdir() |
| esac | esac |
| # etc | # etc |
| install -d etc; | install -d etc; |
| install -d -o 883 -g 883 etc/mqtt; | |
| # exports | # exports |
| install -d exports; | install -d exports; |
| # home | # home |
| Line 165 create_etc_fstab ${FS_EXT} ext || exit 1 | Line 167 create_etc_fstab ${FS_EXT} ext || exit 1 |
| update_etc_cfexec ${FS} || exit 1 | update_etc_cfexec ${FS} || exit 1 |
| update_etc_cfexec ${FS_EXT} ext || exit 1 | update_etc_cfexec ${FS_EXT} ext || exit 1 |
| MakeFS_backup ${FS} || exit 1 | |
| MakeFS_backup ${FS_EXT} || exit 1 | |
| MakeFS_boot ${FS} || exit 1 | MakeFS_boot ${FS} || exit 1 |
| MakeFS_boot ${FS_EXT} || exit 1 | MakeFS_boot ${FS_EXT} || exit 1 |