After the installation via a console, the rest of the setup is done via
a webinterface (GUI).
When visiting the website you need to login with the user root and the
password you entered during the installation.
Then a installation wizard will be shown. If you press exit during any
step of the wizard, it will not apply any of the settings you set.
When you install FreeNAS on a system which already has a ZFS pool, the
wizard will allow you to import this pool.
The [i]path[/i] function is a fix for a problem in some sh shells.
[code]path()
{
if test -x /usr/bin/$1 ; then
${1+"/usr/bin/$@"}
elif test -x /bin/$1 ; then
${1+"/bin/$@"}
fi
}
Colored production prompt
if test -z “${HOSTNAME##-prd-}” -a -t; then
_bred="$(path tput bold 2> /dev/null; path tput setaf 1 2> /dev/null)"
_sgr0="$(path tput sgr0 2> /dev/null)"
# Only set the color if it is not set yet
if test -n “${PS1##$_bred}”; then
PS1="[$_bred]$PS1[$_sgr0]"
fi
unset _bred _sgr0
fi
[/code]