Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bsdinstall/scripts/config
Show All 26 Lines | |||||
# | # | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
############################################################ MAIN | ############################################################ MAIN | ||||
cat $BSDINSTALL_TMPETC/rc.conf.* >> $BSDINSTALL_TMPETC/rc.conf | cat $BSDINSTALL_TMPETC/rc.conf.* >> $BSDINSTALL_TMPETC/rc.conf | ||||
rm $BSDINSTALL_TMPETC/rc.conf.* | rm $BSDINSTALL_TMPETC/rc.conf.* | ||||
cat $BSDINSTALL_CHROOT/etc/sysctl.conf $BSDINSTALL_TMPETC/sysctl.conf.hardening >> $BSDINSTALL_TMPETC/sysctl.conf | cat $BSDINSTALL_CHROOT/etc/sysctl.conf $BSDINSTALL_TMPETC/sysctl.conf.* >> $BSDINSTALL_TMPETC/sysctl.conf | ||||
rm $BSDINSTALL_TMPETC/sysctl.conf.* | rm $BSDINSTALL_TMPETC/sysctl.conf.* | ||||
cp $BSDINSTALL_TMPETC/* $BSDINSTALL_CHROOT/etc | cp $BSDINSTALL_TMPETC/* $BSDINSTALL_CHROOT/etc | ||||
cat $BSDINSTALL_TMPBOOT/loader.conf.* >> $BSDINSTALL_TMPBOOT/loader.conf | cat $BSDINSTALL_TMPBOOT/loader.conf.* >> $BSDINSTALL_TMPBOOT/loader.conf | ||||
rm $BSDINSTALL_TMPBOOT/loader.conf.* | rm $BSDINSTALL_TMPBOOT/loader.conf.* | ||||
df -t zfs $BSDINSTALL_CHROOT > /dev/null && echo "zfs_load=\"YES\"" >> $BSDINSTALL_TMPBOOT/loader.conf | df -t zfs $BSDINSTALL_CHROOT > /dev/null && echo "zfs_load=\"YES\"" >> $BSDINSTALL_TMPBOOT/loader.conf | ||||
Show All 12 Lines |