Changeset View
Changeset View
Standalone View
Standalone View
tools/tools/nanobsd/defaults.sh
| Show First 20 Lines • Show All 561 Lines • ▼ Show 20 Lines | setup_nanobsd() { | ||||
| echo "$NANO_RAM_ETCSIZE" > conf/base/etc/md_size | echo "$NANO_RAM_ETCSIZE" > conf/base/etc/md_size | ||||
| echo "$NANO_RAM_TMPVARSIZE" > conf/base/var/md_size | echo "$NANO_RAM_TMPVARSIZE" > conf/base/var/md_size | ||||
| # pick up config files from the special partition | # pick up config files from the special partition | ||||
| echo "mount -o ro /dev/${NANO_DRIVE}${NANO_SLICE_CFG}" > conf/default/etc/remount | echo "mount -o ro /dev/${NANO_DRIVE}${NANO_SLICE_CFG}" > conf/default/etc/remount | ||||
| # Put /tmp on the /var ramdisk (could be symlink already) | # Put /tmp on the /var ramdisk (could be symlink already) | ||||
| tgt_dir2symlink tmp var/tmp | tgt_dir2symlink tmp var/tmp 1777 | ||||
| ) > ${NANO_LOG}/_.dl 2>&1 | ) > ${NANO_LOG}/_.dl 2>&1 | ||||
| } | } | ||||
| setup_nanobsd_etc() { | setup_nanobsd_etc() { | ||||
| pprint 2 "configure nanobsd /etc" | pprint 2 "configure nanobsd /etc" | ||||
| ( | ( | ||||
| ▲ Show 20 Lines • Show All 409 Lines • Show Last 20 Lines | |||||