bsdinstall: remove EOL whitespace
This commit is contained in:
parent
ee50ae24a6
commit
5c66bcec92
@ -319,7 +319,7 @@ if [ ! -z "$FETCH_DISTRIBUTIONS" ]; then
|
||||
export DISTRIBUTIONS="$FETCH_DISTRIBUTIONS"
|
||||
export BSDINSTALL_DISTDIR="$BSDINSTALL_FETCHDEST"
|
||||
fi
|
||||
|
||||
|
||||
export FTP_PASSIVE_MODE=YES
|
||||
# Iterate through the distribution list and set a flag if debugging
|
||||
# distributions have been selected.
|
||||
@ -413,7 +413,7 @@ finalconfig() {
|
||||
finalconfig
|
||||
;;
|
||||
"Root Password")
|
||||
bsdinstall rootpass
|
||||
bsdinstall rootpass
|
||||
finalconfig
|
||||
;;
|
||||
"Hostname")
|
||||
|
@ -32,7 +32,7 @@ percentage=0
|
||||
for dist in $DISTRIBUTIONS; do
|
||||
distname=$(basename $dist .txz)
|
||||
eval "status_$distname=7"
|
||||
|
||||
|
||||
items=""
|
||||
for i in $DISTRIBUTIONS; do
|
||||
items="$items $i `eval echo \\\${status_$(basename $i .txz):-Pending}`"
|
||||
|
@ -28,7 +28,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
############################################################ INCLUDES
|
||||
|
||||
|
||||
BSDCFG_SHARE="/usr/share/bsdconfig"
|
||||
. $BSDCFG_SHARE/common.subr || exit 1
|
||||
f_dprintf "%s: loading includes..." "$0"
|
||||
|
@ -33,7 +33,7 @@ cat $PATH_FSTAB | awk -v BSDINSTALL_CHROOT=$BSDINSTALL_CHROOT '{
|
||||
fsname = $2;
|
||||
if (fsname == "/")
|
||||
fsname = ""
|
||||
printf("%s\t%s%s\t%s\t%s\t%s\t%s\n", $1, BSDINSTALL_CHROOT,
|
||||
printf("%s\t%s%s\t%s\t%s\t%s\t%s\n", $1, BSDINSTALL_CHROOT,
|
||||
fsname, $3, $4, $5, $6);
|
||||
}
|
||||
}' > $TMP_FSTAB
|
||||
|
@ -75,7 +75,7 @@ IF_CONFIG=$(dialog --backtitle 'FreeBSD Installer' --title 'Network Configuratio
|
||||
if [ $? -eq $DIALOG_CANCEL ]; then exit 1; fi
|
||||
exec 3>&-
|
||||
|
||||
echo $INTERFACE $IF_CONFIG |
|
||||
echo $INTERFACE $IF_CONFIG |
|
||||
awk -v prefix="$IFCONFIG_PREFIX" '{
|
||||
printf("ifconfig_%s=\"%s\inet %s netmask %s\"\n", $1, prefix, $2, $3);
|
||||
printf("defaultrouter=\"%s\"\n", $4);
|
||||
|
@ -41,9 +41,9 @@ f_include $BSDCFG_SHARE/dialog.subr
|
||||
############################################################ MAIN
|
||||
|
||||
#
|
||||
# TODO:
|
||||
# TODO:
|
||||
# - Add DHCPv6 support once FreeBSD ships with it.
|
||||
#
|
||||
#
|
||||
|
||||
INTERFACE=$1
|
||||
case "${INTERFACE}" in
|
||||
|
@ -33,7 +33,7 @@ cat $PATH_FSTAB | awk -v BSDINSTALL_CHROOT=$BSDINSTALL_CHROOT '{
|
||||
fsname = $2;
|
||||
if (fsname == "/")
|
||||
fsname = ""
|
||||
printf("%s\t%s%s\t%s\t%s\t%s\t%s\n", $1, BSDINSTALL_CHROOT,
|
||||
printf("%s\t%s%s\t%s\t%s\t%s\t%s\n", $1, BSDINSTALL_CHROOT,
|
||||
fsname, $3, $4, $5, $6);
|
||||
}
|
||||
}' > $TMP_FSTAB
|
||||
|
Loading…
x
Reference in New Issue
Block a user