Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bsdinstall/scripts/script
Show First 20 Lines • Show All 161 Lines • ▼ Show 20 Lines | |||||
if [ -f $TMPDIR/bsdinstall-installscript-ab ]; then | if [ -f $TMPDIR/bsdinstall-installscript-ab ]; then | ||||
cp $TMPDIR/bsdinstall-installscript-ab $BSDINSTALL_CHROOT/tmp/installscript | cp $TMPDIR/bsdinstall-installscript-ab $BSDINSTALL_CHROOT/tmp/installscript | ||||
chmod a+x $BSDINSTALL_CHROOT/tmp/installscript | chmod a+x $BSDINSTALL_CHROOT/tmp/installscript | ||||
chroot $BSDINSTALL_CHROOT /tmp/installscript $@ 2>&1 | chroot $BSDINSTALL_CHROOT /tmp/installscript $@ 2>&1 | ||||
rm $BSDINSTALL_CHROOT/tmp/installscript | rm $BSDINSTALL_CHROOT/tmp/installscript | ||||
fi | fi | ||||
bsdinstall entropy | bsdinstall entropy | ||||
bsdinstall umount | |||||
if [ "$ZFSBOOT_DISKS" ]; then | if [ "$ZFSBOOT_DISKS" ]; then | ||||
zpool export $ZFSBOOT_POOL_NAME | zpool export $ZFSBOOT_POOL_NAME | ||||
fi | fi | ||||
bsdinstall umount | |||||
f_dprintf "Installation Completed at %s" "$( date )" | f_dprintf "Installation Completed at %s" "$( date )" | ||||
trap - EXIT | trap - EXIT | ||||
exit $SUCCESS | exit $SUCCESS | ||||
################################################################################ | ################################################################################ | ||||
# END | # END | ||||
################################################################################ | ################################################################################ |