aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-11-08 12:34:57 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-11-08 12:34:57 +0000
commit93a32876693bbfd077f0e3075055a81c94e29f66 (patch)
tree371c5addff2d7ad175e9d50a136f3f7668109db3
parente0196256c7d242a271c4ea9bee2ac343bd666823 (diff)
Some changes from Michael Reifenberger. Thanks, Michael!
Notes
Notes: svn path=/head/; revision=4275
-rwxr-xr-xrelease/bininst10
1 files changed, 6 insertions, 4 deletions
diff --git a/release/bininst b/release/bininst
index 5a0550af4693..e71097660cb0 100755
--- a/release/bininst
+++ b/release/bininst
@@ -21,6 +21,8 @@ TAR=tar
TAR_FLAGS=xvf
TMP=/tmp
IFCONFIG=ifconfig
+ROUTE=route
+ROUTE_FLAGS="add default"
HOME=/
export HOME
@@ -337,10 +339,10 @@ setup_network()
rm -f ${TMP}/inputbox.tmp.$$
echo "$ipaddr $remote_hostip netmask $netmask $ifconfig_flags" > /etc/hostname.$interface
default_value=""
- if network_dialog "If you have a gateway, enter its IP address (otherwise cancel)"; then
+ if network_dialog "If you have a default gateway, enter its IP address (otherwise cancel)"; then
gateway=$answer
- echo "Progress <route add default $gateway>" > /dev/ttyv1
- route add default $gateway 2>&1 > /dev/ttyv1
+ echo "Progress <$ROUTE $ROUTE_FLAGS $gateway>" > /dev/ttyv1
+ $ROUTE $ROUTE_FLAGS $gateway 2>&1 > /dev/ttyv1
fi
default_value=""
@@ -413,7 +415,7 @@ install_set()
do_last_config()
{
- dialog --title "Aufwiedersehen!" \
+ dialog --title "Auf Wiedersehen!" \
--msgbox "We now come to the end of the installation. At this point in
time, there's nothing fancy here, but for the release we plan to
ask some additional questions about time zone setup, what sort of