+disable_fstab() +{
- echo "${config_rootfs}" | grep -qw 'no_fstab' || return 0
- sed -i 's/^([^#])/#\1/g' "${ROOTFS_DES_DIR}/etc/fstab"
sed -i 's/^\([^#]\)/# \1/g'
ok.
-------- Thanks Yu Chuan
Thanks, Shenwei
+}
config_rootfs() { config_dns_resolver disable_selinux
- disable_fstab
}
############ test rootfs ############
2.23.0