svn commit: r321178 - head/usr.sbin/bsdinstall/scripts
Ed Maste
emaste at FreeBSD.org
Tue Jul 18 23:35:21 UTC 2017
Author: emaste
Date: Tue Jul 18 23:35:19 2017
New Revision: 321178
URL: https://svnweb.freebsd.org/changeset/base/321178
Log:
bsdinstall: remove EOL whitespace
Modified:
head/usr.sbin/bsdinstall/scripts/auto
head/usr.sbin/bsdinstall/scripts/checksum
head/usr.sbin/bsdinstall/scripts/keymap
head/usr.sbin/bsdinstall/scripts/mount
head/usr.sbin/bsdinstall/scripts/netconfig_ipv4
head/usr.sbin/bsdinstall/scripts/netconfig_ipv6
head/usr.sbin/bsdinstall/scripts/umount
Modified: head/usr.sbin/bsdinstall/scripts/auto
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/auto Tue Jul 18 23:02:34 2017 (r321177)
+++ head/usr.sbin/bsdinstall/scripts/auto Tue Jul 18 23:35:19 2017 (r321178)
@@ -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")
Modified: head/usr.sbin/bsdinstall/scripts/checksum
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/checksum Tue Jul 18 23:02:34 2017 (r321177)
+++ head/usr.sbin/bsdinstall/scripts/checksum Tue Jul 18 23:35:19 2017 (r321178)
@@ -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}`"
Modified: head/usr.sbin/bsdinstall/scripts/keymap
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/keymap Tue Jul 18 23:02:34 2017 (r321177)
+++ head/usr.sbin/bsdinstall/scripts/keymap Tue Jul 18 23:35:19 2017 (r321178)
@@ -28,7 +28,7 @@
# $FreeBSD$
#
############################################################ INCLUDES
-
+
BSDCFG_SHARE="/usr/share/bsdconfig"
. $BSDCFG_SHARE/common.subr || exit 1
f_dprintf "%s: loading includes..." "$0"
Modified: head/usr.sbin/bsdinstall/scripts/mount
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/mount Tue Jul 18 23:02:34 2017 (r321177)
+++ head/usr.sbin/bsdinstall/scripts/mount Tue Jul 18 23:35:19 2017 (r321178)
@@ -33,7 +33,7 @@ cat $PATH_FSTAB | awk -v BSDINSTALL_CHROOT=$BSDINSTALL
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
Modified: head/usr.sbin/bsdinstall/scripts/netconfig_ipv4
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/netconfig_ipv4 Tue Jul 18 23:02:34 2017 (r321177)
+++ head/usr.sbin/bsdinstall/scripts/netconfig_ipv4 Tue Jul 18 23:35:19 2017 (r321178)
@@ -75,7 +75,7 @@ IF_CONFIG=$(dialog --backtitle 'FreeBSD Installer' --t
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);
Modified: head/usr.sbin/bsdinstall/scripts/netconfig_ipv6
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/netconfig_ipv6 Tue Jul 18 23:02:34 2017 (r321177)
+++ head/usr.sbin/bsdinstall/scripts/netconfig_ipv6 Tue Jul 18 23:35:19 2017 (r321178)
@@ -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
Modified: head/usr.sbin/bsdinstall/scripts/umount
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/umount Tue Jul 18 23:02:34 2017 (r321177)
+++ head/usr.sbin/bsdinstall/scripts/umount Tue Jul 18 23:35:19 2017 (r321178)
@@ -33,7 +33,7 @@ cat $PATH_FSTAB | awk -v BSDINSTALL_CHROOT=$BSDINSTALL
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
More information about the svn-src-all
mailing list