diff options
author | jkh <jkh@FreeBSD.org> | 1994-11-21 08:33:56 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-11-21 08:33:56 +0000 |
commit | d3201fd9ab699518f87be5dac4a5596224e400ae (patch) | |
tree | 58d26d52e8cd38a399305801f873b403e94f3c86 /release/bininst | |
parent | 34dc31864a67ae92935141628cf8d6ea9c871448 (diff) | |
download | FreeBSD-src-d3201fd9ab699518f87be5dac4a5596224e400ae.zip FreeBSD-src-d3201fd9ab699518f87be5dac4a5596224e400ae.tar.gz |
Make sure new machines always have a host name.
Diffstat (limited to 'release/bininst')
-rwxr-xr-x | release/bininst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/release/bininst b/release/bininst index f99485e..9752ef0 100755 --- a/release/bininst +++ b/release/bininst @@ -13,7 +13,7 @@ # putting your name on top after doing something trivial like reindenting # it, just to make it look like you wrote it!). # -# $Id: bininst,v 1.47 1994/11/20 14:49:46 jkh Exp $ +# $Id: bininst,v 1.48 1994/11/21 02:17:06 jkh Exp $ if [ "$_BININST_LOADED_" = "yes" ]; then echo "Error, $0 loaded more than once!" @@ -42,6 +42,7 @@ trap interrupt 1 2 15 # set initial defaults set_defaults() { + network_set_defaults media_set_defaults installing="yes" mkdir -p ${TMP} @@ -64,6 +65,8 @@ to go, please remove the cpio floppy from the drive and press return!" -1 -1 do_last_config() { + if [ "$hostname" = "" ]; then network_basic_setup; fi + dialog --title "Final Configuration!" --menu \ "We now come to the end of the installation. If there's a\n\ floppy in the boot drive, now would probably be a good time\n\ |