freebsd-dev/usr.sbin/bsdinstall/scripts/Makefile
Nathan Whitehorn 2ffbec1872 Add a scripting frontend. Documentation and release(7) support coming later.
Scripts take the form:

------------------------------------
PARTITIONS=ada0
DISTRIBUTIONS="kernel.txz base.txz ports.txz"

#!/bin/sh
echo "sshd_enable=YES" >> /etc/rc.conf
pkg add puppet
echo "System setup complete"
------------------------------------

The second part of the script (beginning with #!) is run in the newly
installed system after the installation onto ada0 (with default partitioning,
see scriptedpart for more complicated scenarios) is complete.
2013-01-21 01:01:32 +00:00

11 lines
269 B
Makefile

# $FreeBSD$
SCRIPTS= auto adduser checksum config docsinstall hostname jail keymap \
mirrorselect mount netconfig netconfig_ipv4 netconfig_ipv6 rootpass \
script services time umount wlanconfig
BINDIR= /usr/libexec/bsdinstall
NO_MAN= true
.include <bsd.prog.mk>