diff options
author | jkh <jkh@FreeBSD.org> | 1994-11-11 07:33:50 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-11-11 07:33:50 +0000 |
commit | 8c7bac183a72653b5e7bd5a77c8d049cebee5d1b (patch) | |
tree | bf3ee7ba56b5f09d9b0ef97214b28044070f2273 /release/bininst | |
parent | 0095d86e44bee1e75e7df722a6abf23c388d8b95 (diff) | |
download | FreeBSD-src-8c7bac183a72653b5e7bd5a77c8d049cebee5d1b.zip FreeBSD-src-8c7bac183a72653b5e7bd5a77c8d049cebee5d1b.tar.gz |
Add de0 to list of ethernet drivers. This list will be dynamic shortly..
Add an interrupt handler for trigger-happy users.
Add domain to resolv.conf
More general cleanup in preparation for this script being split into
several scripts.
Diffstat (limited to 'release/bininst')
-rwxr-xr-x | release/bininst | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/release/bininst b/release/bininst index bafe5e6..154f76d 100755 --- a/release/bininst +++ b/release/bininst @@ -13,7 +13,7 @@ # your name on top after doing something trivial like reindenting it, just # to make it look like you wrote it!). # -# $Id: bininst,v 1.24 1994/11/10 05:27:57 jkh Exp $ +# $Id: bininst,v 1.25 1994/11/10 23:43:25 jkh Exp $ # Some useful constants. PATH=/usr/bin:/usr/sbin:/bin:/sbin:/stand @@ -27,6 +27,16 @@ ROUTE_FLAGS="add default" HOME=/ export HOME +interrupt() { + if dialog --clear --title "User Interrupt Requested" \ + --yesno "Do you wish to abort the installation?" 5 70; then + exit 0; + fi +} + +# Deal with trigger-happy users. +trap interrupt 1 2 15 + # Set the initial state of the system. set_defaults() { media_type="" @@ -274,10 +284,11 @@ setup_network_ether() { dialog $clear --title "Ethernet Interface Name" \ --menu "Please select the type of ethernet interface you have:\n\n" \ - 20 76 6 \ + 20 76 7 \ "ed0" "WD80x3, SMC, Novell NE[21]000 or 3C503 generic NIC at 0x280/5" \ "ed1" "Same as above, but at address 0x300 and IRQ 5" \ "ed2" "Same as above, but at address 0x300 and IRQ 10" \ + "de0" "DEC PCI ethernet adapter (or compatible)" \ "ie0" "AT&T StarLan and EN100 family at 0x360 and IRQ 7" \ "is0" "Isolan 4141-0 or Isolink 4110 at 0x280 and IRQ 7" \ "ze0" "PCMCIA IBM or National card at 0x300 and IRQ 5" \ @@ -400,7 +411,8 @@ setup_network() if network_dialog "If you have a name server, enter its IP address"; then if [ "$answer" != "" ]; then nameserver=$answer - echo "nameserver $nameserver" > /etc/resolv.conf + echo "domain $domain" > /etc/resolv.conf + echo "nameserver $nameserver" >> /etc/resolv.conf fi fi done |