summaryrefslogtreecommitdiff
path: root/distrib/miniroot
AgeCommit message (Collapse)Author
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@
2009-06-02some sed cleanup and killing a catAlexander Hall
very similar diff ok krw@
2009-06-02make the eval's resistant to rouge user inputAlexander Hall
2009-06-01Test the return value of md_prep_disklabel() to detect failedKenneth R Westerback
attempts to write a disklabel. When failure is detected don't configure the disk, return it to the list of disks available to be configured.
2009-05-31push the dmesg and $SERVERLIST into the random pool to enhance theTheo de Raadt
entropy, before we pull out the host.random for the next boot
2009-05-31If xdm was requested, but then xbase was not installed, don't try toTheo de Raadt
enable it. ok halex
2009-05-31Fix sane_sets. Set default set source to last successful sourceKenneth R Westerback
until sane_install succeeds, then make it 'done'. Nuke a useless bleet when harassing user. Mostly requested by deraadt@
2009-05-31Ask the cgi to remember the install method too, and as a result, thisTheo de Raadt
makes two more questions only need a return. ok krw
2009-05-31Change the order of the installer questions again, because it is better.Theo de Raadt
hostname, network, root password, misc, timezone, and then the disks and sets. ok krw
2009-05-30Defer talking to the ftpinstall cgi until a fair bit later, so that we canTheo de Raadt
also tell it the timezone. As a result, this will also work for non-url based installs.
2009-05-30silly comment is wrongTheo de Raadt
2009-05-30these scripts should use tabs because 4 spaces wastes 3 chars of media spaceTheo de Raadt
2009-05-30The TZ question can be asked at 3 different places. In the "media whichTheo de Raadt
lacks the names but we have net" case, we end up with installed sets. Remove the code which guesses the TZ from the sets just installed. We now default to GMT, unless the ftplist.cgi made a better guess.
2009-05-30install.sh already knows that MODE == installTheo de Raadt
2009-05-30Allow the HASH command in ramdisk list files to specify additional filesMiod Vallat
to be checksummed. ok deraadt@
2009-05-29Remember to copy the modified ntpd.conf back to /etcTheo de Raadt
problem spotted by Thomas Pfaff
2009-05-28Get the list of disks or cds whenever required rather than once atKenneth R Westerback
startup. This means you can plugin USB disks or cds after the install has started and you will see the new device the next time the list is shown. The wonders of using sysctl. 'excellent' miod@
2009-05-24Make select_sets insensitive to rougue user input andAlexander Hall
allow [+-] prefixing per whitespace separated parameter. This makes it possible to write e.g. * -x* +xbase* done The previous way of entering multiple sets separated by pipes will no longer work. ok krw@
2009-05-19refine login name and full user name sanity checkAlexander Hall
spotted by miod@ feedback and ok deraadt@, krw@
2009-05-19shorten ftp server install prompt; ok krwTheo de Raadt
2009-05-17Use sed to directly create swap entries in fstab rather than dancingKenneth R Westerback
through an intermediate file. Protect only fstab.$DISK manipulating commands with the check for the existance of fstab.$DISK. This restores the ability to have disks with only swap partitions.
2009-05-17Move comment to correct spot.Kenneth R Westerback
Suppress 'No such file' error message when grep'ing for '/' mount point in fstab.$ROOTDISK. We are interested in success or failure, not excuses! Check for existance of fstab.$DISK. User may exit disklabel with 'x', especially for non-root disks, and not create the file.
2009-05-17add a period; Stephan A. RickauerTheo de Raadt
2009-05-17noone needs to use halt. reboot will doTheo de Raadt
discussed with jmc
2009-05-17do not hardcode the version into the script; ok krw miodTheo de Raadt
2009-05-16cleanup of set_timezone resulting in byte shaving and fixing an issue whereAlexander Hall
posixright would apprear in the listing of posix/ while it is actually its sibling
2009-05-15Since _defdsk is now only set to "", just nuke it.Kenneth R Westerback
ok deraadt@
2009-05-15Zap tedious verbiage announcing disk configuration will start soon.Kenneth R Westerback
ok deraadt@
2009-05-15If we have more than one disk, we don't know what the user wants but doneTheo de Raadt
is probably not the right default answer. ok krw
2009-05-12Cleanup and shave some bytes in hextodec()Alexander Hall
ok krw@, "If that works, commit it" deraadt@
2009-05-11Clean up and shrink code. Don't newfs paritions without a mountKenneth R Westerback
point specified. Check for duplicate mount points and don't accept a disk which has such a duplicate configured. Don't remount all partitions after installing sets. 'be brave' deraadt@
2009-05-09- ask_yn defaults to noMartynas Venckus
- remove trailing whitespace ok krw@, sthen@
2009-05-09Read the netmask in dotted decimal notation, even though ifconfig doesTheo de Raadt
the wrong thing.
2009-05-09IFS dance not neededTheo de Raadt
2009-05-09Pretty up the failed sets messageTheo de Raadt
2009-05-08If sshd is enabled, and a user is setup, as if sshd should turn offTheo de Raadt
sshd's PermitRootLogin
2009-05-08improve user_setup by only accepting good usernames; idea from alexanderTheo de Raadt
hall. also improve the 2nd question designed for people not paying attention; ok todd
2009-05-08use $nifs instead of hostname.* existance to determine if we should get ftplistTheo de Raadt