summaryrefslogtreecommitdiff
path: root/distrib/miniroot
AgeCommit message (Collapse)Author
2010-06-21Argh. Back out previous until correct diff found.Kenneth R Westerback
2010-06-21Juggle code a bit and add a check so we don't attempt to createKenneth R Westerback
a device from a UID name.
2010-04-06Try a more detailed message about the timeTheo de Raadt
2010-04-05purge extra spaces which make the media cryTheo de Raadt
2010-04-04If the system time is off by more than 120 seconds from the TIME=nnnAlexander Hall
supplied from ftplist.cgi, ask if the user wants to set it accordingly. Idea from deraadt@, feedback from sthen@, guenther@ ok deraadt@, krw@ (slightly different version)
2010-03-31put date(1) onto the media, it fitsTheo de Raadt
2010-03-09correctly choose the files in a directory, even if it is a symbolic linkTheo de Raadt
also don't pull extra goop into the selector (do not use ls -l) diff from halex ok krw
2010-03-09Tweak default set selection so X sets are in the default list whenKenneth R Westerback
/etc/X11 already exists. So if you install X to a headless machine and then upgrade you don't have to remember to add X sets. Idea from landry@ who installs to a lot of ports boxen. ok halex@ beck@ deraadt@
2010-03-04Gracefully handle trailing '/'s when asking for [sub]Timezones.Kenneth R Westerback
i.e. ignore them all. Problem pointed out by Sebastian Rother. More script discipline and voodoo from halex@. ok halex@ deraadt@
2010-03-02The -stable default ftp directory should not be snapshots/$ARCH.Kenneth R Westerback
The normal release directory is a less surprising default. Suggested by henning@ a while ago. Working script incantation courtesy of several cluebats from halex@. No strong opposition. ok deraadt@
2010-01-13match the 'use 127.0.0.1/8 instead of 127.0.0.1 for clarity' change in netstartTodd T. Fries
sure henning@
2010-01-10remove and move some chatty byte during upgrade startup; ok krw, idea from ↵Theo de Raadt
mcbride
2010-01-03Since we can now recognize new disks as they appear, loop waitingKenneth R Westerback
for a root disk to appear if no disks are initially found. Diff & ok from halex@, idea from deraadt@
2010-01-01add arch(1) to the ramdisk, it is tiny and we will soon need itTheo de Raadt
2009-07-23Don't use the presence of /etc/fstab to determine if all filesystemsKenneth R Westerback
are umount'd at the start of install/upgrade. As halex@ pointed out 'umount -af' doesn't actually use /etc/fstab, so just always do it. Fixes situations where bailing out of install/upgrade before /etc/fstab was created meant filesystems were not umount'd and restarting the install/upgrade would fail. Noticed & prodded deraadt@
2009-07-14Add a couple of missing ';;'s in case statements. Both are justKenneth R Westerback
before the 'esac' so there should be no functional change, but consistancy feels so good. ok halex@
2009-07-10We should be using the $SERVERLISTALL (not the url-only $SERVERLIST) toTheo de Raadt
decide to talk-back. Sigh.
2009-07-09The cd install method is called cd, not cdrom. This gets told to theTheo de Raadt
back end, which feeds it back to us next time, and since we don't know what it means... we ignore it. That is dumb.
2009-07-06Fix handling of install info saving and fetching. May still be someKenneth R Westerback
interesting behaviour with v6 '[]' ftp syntax, but best we can do for 4.6. Testing and tweaking from halex@ and phessler@, and a host of others in various previous versions. ok halex@ deraadt@.
2009-07-03jmc becomes upset when nouns are used as verbs; via krwTheo de Raadt
2009-07-02Do *not* newfs non-ffs partitions while installing. Even if someoneKenneth R Westerback
has entered 'n i' in disklabel and caused a mountpoint to be saved for the non-ffs partition. Discovered by and fix tested by mgrimm@. ok deraadt@.
2009-07-01Do not default to disk installs; ftp or cdrom covers 99% of users; ok krwTheo de Raadt
2009-06-29Revert 1.558, making the installer (in the worst case) use the base-setTheo de Raadt
localtime zone for decision making. But when we get into that situation, also skip timezone manipulation the first time (before base install) and defer it to after the base install (since that is the only time that file exists). Complicated? It could be worse.. ok krw halex
2009-06-27Add initial user to the 'staff' class.Antoine Jacoutot
ok deraadt@, ok krw@
2009-06-19Don't create bogus hosts file entries if too few parameters areKenneth R Westerback
passed to addhostent(). Noticed by sthen@ and jsing@. ok halex@ deraadt@
2009-06-12make the interrupt handler in install.sub print a linefeed and also makeAlexander Hall
sure to enable echoing of the input to the tty ok krw@
2009-06-12Put back the once-only code that krw removed earlier, because we want ^CTheo de Raadt
from the install script to go to the # prompt, not back to the question.
2009-06-12Avoid vlan explosion reported by deraadt@, sthen@ and jsing@ whenKenneth R Westerback
^C'ing and restarting the install script. When looking for the next vlan to offer, stop at the first unconfigured one rather than the first non-existant one. ok deraadt@
2009-06-11krw must not have tested his dhcp change from a scratch bootTheo de Raadt
2009-06-11No need to show the filename the duplicate mount point was detectedKenneth R Westerback
in. Noticed in an error message from todd@.
2009-06-11Make 'dhcp' the default answer only if no other interface hasKenneth R Westerback
been configured to use dhcp. Requested by deraadt@.
2009-06-10A tighter printing format for the SHA256 hashes.Theo de Raadt
2009-06-10On systems without keyboard setting, the hostname choice had no blank lineTheo de Raadt
above it. It disturbed me deeply.
2009-06-10Count existing vlan's so restarting the script doesn't lose track ofKenneth R Westerback
which vlan to create next.
2009-06-10when sets cannot be found, do the 4-space indent dance to make theTheo de Raadt
failure list a whole lot prettier. ok todd
2009-06-10the interface list should not be sorted. use the order that ifconfigTheo de Raadt
chooses, since that is the order people are used to. krw remembered some weird behaviour, but i tested and could not find it ok krw
2009-06-09Update the user input routines to (re-evaluate and) redraw theAlexander Hall
question if dmesg changes are detected. The password reading routines are not subject to these changes at this point. ok deraadt@, krw@
2009-06-09Tighten and tweak keyboard question. Use 'layout' instead of 'type'Kenneth R Westerback
as suggested by mk@. Shortened verbiage allows us to bring back 'L' as a way to list the alternate layouts, as pointed out by Andr?s on tech@. On some keyboards finding the '?' can be a challenge before the layout is set. ok deraadt@
2009-06-07More tersification. Fixes verbiage issue reported by jdixon@ onKenneth R Westerback
icb.
2009-06-05add some hostname sanity checkAlexander Hall
honour the path part of the suggested hostname/path combo "please commit" deraadt@
2009-06-04Implement '!' and '!<cmd>' at the "(I)nstall ..." prompt so weKenneth R Westerback
aren't lying about being able to do that at any prompt. Suggested by deraadt@
2009-06-04Only print the intro verbiage once, instead of every pass through the ↵Kenneth R Westerback
"(I)nstall, ..." loop. Noticed by & ok deraadt@
2009-06-04count nifs in enable_network(); allows ftplist to be fetched in theStuart Henderson
upgrade case too. ok deraadt@
2009-06-04Nuke now superfluous ARCH=ARCH lines in install.md and the sed processing ofKenneth R Westerback
those lines in list2sh.awk. ok deraadt@
2009-06-03Add hw.machine and kern.osrelease to install media sysctl. UsingKenneth R Westerback
these rather than hard coded variables allows the rationalization of the greeting by moving it into dot.profile. Whack at dot.profile a lot. Eliminate the 'Proceed with ...' question as unneeded. Eliminate welcome(). ok deraadt@ "I like" todd@
2009-06-03make sure timezone and sets location gets sane defaultsAlexander Hall
ok krw@
2009-06-03Only need to umount once on restarting. Force umounts in case ofKenneth R Westerback
restarting. No need to ask for verbose umount output since we send it all to /dev/null. Make sure we start in '/', lest we were restarted while exploring the installed/upgraded filesystems.
2009-06-02Nuke sissy verbiage about losing data. No more special casing forKenneth R Westerback
restarted installs/upgrades. They should just work the same as first attempts except for presenting some remembered info as default answers. ok deraadt@
2009-06-02Bring interface list handling up to disk and cd behaviour of beingKenneth R Westerback
able to detect added/deleted interfaces. Tweak vlan handling. No longer delete interfaces as they are configured so you can choose to reconfigure them. ok deraadt@, ksh tweaks from halex@
2009-06-02strip /<version>/<arch> part from the install url before feeding it backAlexander Hall
to the ftplist server ok deraadt@