summaryrefslogtreecommitdiff
path: root/distrib/miniroot/install.sub
AgeCommit message (Collapse)Author
2009-04-18Get rid of the final "Are you ready to install sets?" question by addingTheo de Raadt
an 'abort' option to the previous question. Another question goes *poof* ok krw
2009-04-1818 characters per column is better, since xshareXX.tgz is a long name.Theo de Raadt
(This gets noticed on non-SMP architectures, since they do not have the bsd.mp which pushes xshareXX.tgz to the 3rd column)
2009-04-18Don't bother trying to handle network interface media modificationsKenneth R Westerback
in the script. If that level of tweaking is needed, it is safer to not pretend to handle it in the scripts and leave it to the expert installer to do manually. Very very rarely used in any case. Suggested by and 'just commit' deraadt@
2009-04-18If people want to edit their hosts file, they can do it in the next stepTheo de Raadt
ok krw
2009-04-18Always enable DNS in the installer, without asking, since everyone justTheo de Raadt
hits return for the question and accepts it. Welcome to the Internet, everyone has it today. ok krw
2009-04-17silence delete of hash output fileTheo de Raadt
2009-04-17undesireable tabs (waste space on the media)Theo de Raadt
2009-04-17For SHA256 hashes to be ready to go onto the install media, we mustTheo de Raadt
build the sets before we build the media. While there we can get rid of DESTDIR/snapshot too, and simply install straight into RELEASEDIR. (This also ends up saving an astounding amount of traffic/latency in a nfs environment)
2009-04-13krw says comments only stripped when alone on a lineTheo de Raadt
2009-04-13Print the sets list in 3 columns. Some pathological case handling forTheo de Raadt
extremely siteXX-stupidlonghostname.tgz files worked out with krw The shell script output is now substantially shorter than it was before and blind people will appreciate this in our next release.
2009-04-13use the new ftp -T title mode to compress the install script outputTheo de Raadt
a bit more (and it is a lot prettier, too) ok krw
2009-03-14Installed dhclient.conf is now all comments. Installed hosts isKenneth R Westerback
now correct as is, since we don't add info to localhost lines. So ditch comment-preserving dance through /tmp and just append our new info to installed files. Shrinks scripts without changing behaviour.
2009-03-14There should only be one ::1 and one 127.0.0.1 entry in the hostsKenneth R Westerback
file. And 'localhost' don't need no stinkin' domain names. Insert line(s) with the address(es) of last interface defined instead of duplicate ::1 and 127.0.0.1 entries, Thus dhcp configured interfaces may eventually drift away from the value in hosts file. Much discussed just before tree lock. Time to see what happens. ok deraadt@
2009-03-13Add tab's to the whitespace pattern used to eliminate existing entriesKenneth R Westerback
when adding a host line via addhost_entry(). Thus preventing the duplicate entries for 127.0.0.1 we started inserting when we switched to using tabs in the initial hosts file.
2009-02-19Third time lucky. Proper use of quotes when comparing the first andKenneth R Westerback
second copies of the entered password will preserve leading and trailing spaces. Prodded by dale@. Proper clue pointed out by todd@.
2009-02-19No need for caveat about ignoring "\" when reading passwords, \r\n getKenneth R Westerback
passed through just fine. Also add comment to note that leading and trailing space will be trimmed. Pointed out by 'x' on bugs@.
2009-02-18Use 'read -r' to read password, which allows "\" to be in theKenneth R Westerback
password unless it's part of an escape sequence like "\r". Prompted by Aaron W. Hsu via PR#6042. ok deraadt@
2009-02-14Don't copy the 'full' installed protocols(5) or services(5) to theKenneth R Westerback
ramdisk environment during an upgrade. They are large and potentially modified beyond usefulness. The minimal ones on the install media are sufficient. ok ian@ guenther@ deraadt@
2009-02-08Move to 4.5-BETAMiod Vallat
2009-01-25Only copy hosts file once during upgrades. Shorten a long variable name.Kenneth R Westerback
2008-11-23Create a new bpfN device whenever a dhclient is started. MultipleKenneth R Westerback
interfaces can now be configured with dhcp during install and upgrades. Problem most forcibly pointed out by Luis and Pedro at h2k8. "go for it" deraadt@
2008-11-11Drop svnd lines from the munged fstab for upgrades, to avoid confusingKenneth R Westerback
fsck. Reported by Sebastian Rother via tech@. "sure" deraadt@
2008-11-11Replace some 4 space knf spacing with install space paranoia tabs, savingKenneth R Westerback
33 characters.
2008-09-30install hostname.* files mode 640 root.wheel by default; ok krwTheo de Raadt
2008-09-07Nuke ifconfig '-m' uses. Use bare 'media' instead. Pointed out byKenneth R Westerback
Paul de Weerd via source-changes@.
2008-07-07Rework the ntpd question to default to no, and ask for the NTP server only ↵Jason Dixon
if user chooses yes. Easier than the 3-part question and requires far fewer keystrokes to enable the 'default'. ok krw@
2008-07-06Make 'dhcp' the initial default when configuring the network. ThisKenneth R Westerback
makes one more answer <cr>'able during install without changing any existing behaviour. Change 'NTP server?' default answer from 'none' to 'default'. Suggested by thib@, supported by marco@, jsing@, millert@
2008-07-02move to 4.4-betaTheo de Raadt
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-24Remove leading zeros of subpart of partition's blocksize so ksh does notTobias Stoeckmann
interpret it as octal, leading to error messages like "048" is not a number. ok krw
2008-06-13ksh's arithmetic is 32 bit signed so we can no longer rely onKenneth R Westerback
block counts being small enough to do arithmetic on. Manually process partition block counts into 'human readable' byte sizes when asking for confirmation of disk configuration. Install script now properly displays the size of Yottabyte partitions. requested by & ok deraadt@
2008-04-17force mode for hostname.* files to 600; ok krwTheo de Raadt
2008-03-15When installing via NFS, only retry the mount five times (instead of theJoel Sing
default 10,000 times). ok deraadt@ krw@ thib@
2008-03-09Remove question about keep alive option.Kenneth R Westerback
Requested by deraadt@
2008-03-09Consolidate FTP option handling, fixing one missing set of optionsKenneth R Westerback
and adding a new question during install to allow the setting of FTP's -k option in situations where intervening routers/firewalls are prematurely killing connections. Original idea and diff from espie@ ok espie@
2008-03-05Tweak regexp replacing 'off' with 'on secure' so we don't end up withKenneth R Westerback
'on secure secure'. ok deraadt@
2008-03-04Redo serial console configuration logic. Smaller, easier toKenneth R Westerback
understand. Add serial console handling for alpha, macppc, zaurus. No functional change for i386/amd64. All archs should now have automatic serial console configuration. ok deraadt@
2008-02-204.3-betaMiod Vallat
2008-02-11For architectures with an enabled 'console' ttys entry, adjust theKenneth R Westerback
speed of said entry to reflect the speed of the console being used to install. For archs with MDSERIAL defined, offer the current device and speed as the defaults for switching to serial consoles. Fixes new Sun gear that uses a 115200 console speed and makes for better defaults without breaking current install processes. ok dlg@ henning@
2007-12-14make more clear that the NTP question is not a three way yes/noOtto Moerbeek
question; ok deraadt@
2007-08-02spelling fixes in the commentsDavid Krause
2007-07-27oops, forgot to crank to 4.2Theo de Raadt
2007-05-28Don't look for wt tape devices while installing.Kenneth R Westerback
2007-04-27caps for NTP server; from jdixonTheo de Raadt
2007-04-25Use 'ifconfig' and not 'ifconfig -a' as the -a is now the default.Kenneth R Westerback
2007-04-25Add capacity to specify one ntp 'server' (not 'servers') during install.Kenneth R Westerback
Suggested by deraadt@, nifty sed nit from ray@. ok deraadt@ beck@ mbalmer@
2007-03-26Make the default behaviour to force a fsck when upgrading, as itOtto Moerbeek
was before it became optional. ok krw@ beck@ pedro@
2007-03-26Don't pass fsck '--fp'. From Loic Tortay via PR #5422.Kenneth R Westerback
2007-03-16Give the upgrader an option to *not* fsck -f non-root filesystems. InKenneth R Westerback
fact make that the default. Help upgraders with big filesystems and no patience. Suggested by & ok beck@.
2007-03-13Keep copyright year current.Kenneth R Westerback