summaryrefslogtreecommitdiff
path: root/distrib
AgeCommit message (Collapse)Author
2002-05-07All architectures now use miniroot, so eliminate last few getresp()Kenneth R Westerback
calls in favour of ask(). Fix the erroneous advice I gave to Hugh in vax getresp() -> ask(). ok deraadt@
2002-05-07syncTheo de Raadt
2002-05-06syncTheo de Raadt
2002-05-06Convert a getresp that seems to have escaped the sieve.Hugh Graham
Spotted by grange.
2002-05-04Clean up the logic in install_url():Kenneth R Westerback
a) Eliminate extraneous cat invocations that are piped to grep by simply calling grep with the file name. b) Eliminate the only use of isnumeric() by using a ksh'ism left exposed in sh: '+([0-9])'. Eliminate isnumeric(). c) Test for a http/ftp list index of '0' and treat as an out of range error rather than an IP address. d) Reorganize to make smaller and more clear. Add documentation to sh(1) for ksh patterns that are available. ok millert@, miod@
2002-05-04add some Netra serversBrad Smith
2002-05-02Update TURBOchannel machines status.Miod Vallat
2002-05-01when filtering termcap selecet vt220, not vt200, since that's what we gonna ↵Michael Shalayeff
use later, plus a few rcsid vicinity cleanups; millert@ ok
2002-05-01We only need fsck_ffs, not the fsck front end.Todd C. Miller
Make all fsck list file entries simply be: LINK instbin sbin/fsck_ffs sbin/fsck
2002-04-30Clean up configure_all_interfaces() a bit.Kenneth R Westerback
Always make the default answer the first unconfigured interface, and when there are no unconfigured interfaces make the default answer 'done'. As a result _reprompt would always be set to 1, so eliminate it and the if statement testing it.
2002-04-30Swap sbin/fsck and sbin/fsck_ffs in the LINK line. Now that we useTodd C. Miller
makeconf.awk, order matters here. With the previous order only the fsck wrapper was included and fsck_ffs was linked to it. This resulted in fsck fork bombing until the proc table was full.
2002-04-30Parital sync to i386 common/Makefile.inc, enough to build ramdisk at least.Dale Rahn
2002-04-30use makeconf.awk throughout, delete instbin in MakefileTheo de Raadt
2002-04-30ahc back on floppyB.Miod Vallat
2002-04-30remove instbin in Makefile, not in listTheo de Raadt
2002-04-30instbin removal was not done; do in MakefileTheo de Raadt
2002-04-30instbin removal now done in a MakefileTheo de Raadt
2002-04-30spacingTheo de Raadt
2002-04-30first pass of instbin removal movementTheo de Raadt
2002-04-30use makeconf.awk, and cleanup instbin removalTheo de Raadt
2002-04-30oops, typoTheo de Raadt
2002-04-30Tighten up installed options on /tmp by adding nosuid,nodev.Kenneth R Westerback
Suggested by Ian McWilliam. ok deraadt@.
2002-04-30tset bye byeTheo de Raadt
2002-04-30this is not run by hand, no need for #!/bin/sh; krw okTheo de Raadt
2002-04-30use makeconf.awk, and also simplify list managementTheo de Raadt
2002-04-30make use of makeconf.awkTheo de Raadt
2002-04-30use leaner libraries; like most already didTheo de Raadt
2002-04-30use SCRIPT commandTheo de Raadt
2002-04-30add a SCRIPT command which does sed-based comment stripping, and also the ↵Theo de Raadt
ARCH=ARCH replacement
2002-04-30do not delete the filesystem on "make unconfig"Theo de Raadt
2002-04-29syncTheo de Raadt
2002-04-29remove junkTheo de Raadt
2002-04-29generate termcap file using a list2sh.awk directrive; distrib becomes a lot ↵Theo de Raadt
smaller again
2002-04-29syncTheo de Raadt
2002-04-29Expose a few more comments to stripping: must be on separate line, andKenneth R Westerback
must *not* start with consecutive '#'s.
2002-04-29Eliminate basename(). Just use parameter expansion syntax to removeKenneth R Westerback
everything up to and including the last '/'. Also removes a now unnecessary variable from install_tape(). Which brings up the question 'Does anyone use tape installs?'.
2002-04-29Rely on [] evaluating empty string as false, non-empty string as trueKenneth R Westerback
to eliminate a lot of -z and -n tests. Thus, '[ -z "$x" ] && cmd' -> '[ "$x" ] || cmd' 'if [ -z "$x" ]; then; y; fi' -> '[ "$x" ] || y'. '[ -n "$x" ]' -> '[ "$x" ]' Use variable default value syntax in a couple of places rather than if statements. e.g. ': ${_ouranswer:=$_ifs}'. Suggestions from millert@, aaron@, espie@, miod@ at various times.
2002-04-29syncTheo de Raadt
2002-04-28Remove superfluous '{}' in variable references that are all alone in aKenneth R Westerback
string. i.e. "${a}" -> "$a". Save the {} form for strings where variables are mixed with text. Remove superfluous X's. e.g. "X$resp" = "Xdone" -> "$resp" = "done". Change last few '[ "$v" = "" ]' or equivalents to '[ -z "$v" ]'.
2002-04-28remove confusion about disktabTheo de Raadt
2002-04-28use single shared mtree.confTheo de Raadt
2002-04-28Change getresp() into ask().Kenneth R Westerback
ask() takes 2 parameters. The first one is the question to ask the user, and the 2nd is the default answer. Shrinks and makes the code clearer. From espie@ with some tweaking, ok deraadt@.
2002-04-28use the shared elfsetrootTheo de Raadt
2002-04-28bye byeTheo de Raadt
2002-04-28bye byeTheo de Raadt
2002-04-28modernizeTheo de Raadt
2002-04-28i intended to remove this beforeTheo de Raadt
2002-04-27Fix typo ('remel' -> 'rmel') in glob_selection.Kenneth R Westerback
2002-04-26Rework glob_selection() to eliminate 'Major hack' and a 'Eww' byKenneth R Westerback
getting eval to work correctly. Some other logic cleanups in glob_selection. Eliminate 'dead' code trying to use dns to resolve ftp.openbsd.org. Not only was the code dead, $_resolver_enabled having been eliminated a while ago, but unnecessary as Theo has promised the IP address will not change. Spell 'occurrences' correctly. From espie@ with slight modifications. ok espie@ millert@
2002-04-26Change 'while $1; shift' loops to 'for _b;' loops.Kenneth R Westerback
Move more 'if [] then; x; fi' to '[] && x' or '[] || x' idioms. Remove code supporting an optional IFS parameter in cutlast(), as it was never used. Also redo logic a bit in cutlast() to use eval to better effect. Improve logic a bit in bsort. From espie@ with slight modifications. ok espie@ millert@