summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sysinstall/network.c')
-rw-r--r--usr.sbin/sysinstall/network.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.sbin/sysinstall/network.c b/usr.sbin/sysinstall/network.c
index 248cb38..d8835d8 100644
--- a/usr.sbin/sysinstall/network.c
+++ b/usr.sbin/sysinstall/network.c
@@ -123,8 +123,6 @@ mediaInitNetwork(Device *dev)
"in the Networking configuration menu before proceeding.", dev->name);
return FALSE;
}
- else if (!strcmp(cp, "DHCP"))
- goto bail;
msgNotify("ifconfig %s %s", dev->name, cp);
i = vsystem("ifconfig %s %s", dev->name, cp);
if (i) {
@@ -142,7 +140,6 @@ mediaInitNetwork(Device *dev)
msgNotify("Adding default route to %s.", rp);
vsystem("route -n add default %s", rp);
}
-bail:
if (isDebug())
msgDebug("Network initialized successfully.\n");
networkInitialized = TRUE;
@@ -330,9 +327,9 @@ startPPP(Device *devp)
dialog_clear_norefresh();
msgConfirm("NOTICE: The PPP command is now started on VTY2 (type ALT-F3 to\n"
"interact with it, ALT-F1 to switch back here). If you are using\n"
- "a PAP or CHAP login simply enter \"dial\", otherwise you'll need\n"
- "to use the \"term\" command which starts a terminal emulator\n"
- "which you can use to talk to your modem and dial the service\n"
+ "a PAP or CHAP login simply enter \"dial\" otherwise you'll need\n"
+ "need to use is the \"term\" command which starts a terminal\n"
+ "emulator you can use to talk to your modem and dial the service\n"
"provider. Once you're connected, come back to this screen and\n"
"press return.\n\n"
"DO NOT PRESS [ENTER] HERE UNTIL THE CONNECTION IS FULLY\n"
OpenPOWER on IntegriCloud