summaryrefslogtreecommitdiff
path: root/distrib/evbarm/instkernel/sshramdisk/inst.profile
blob: 11a780abc3bc67e276c3e5f4a5f2c49000c4d55a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $NetBSD: inst.profile,v 1.1 2013/03/19 22:16:53 garbled Exp $

PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
export PATH
TERM=vt100
export TERM
HOME=/
export HOME

umask 022

if [ "X${DONEPROFILE}" = "X" ]; then
	DONEPROFILE=YES
	export DONEPROFILE

	# set up some sane defaults
	echo 'erase ^H, werase ^W, kill ^U, intr ^C'
	stty newcrt werase ^W intr ^C kill ^U erase ^H
	echo ''

	# run the installation or upgrade script.
	echo "starting sysinst!"
	cd /
	/sysinst
	echo "If you have completed your install, please reboot"
	echo "into your new OS, otherwise, run sysinst again."
fi