summaryrefslogtreecommitdiff
path: root/distrib/miniroot
AgeCommit message (Collapse)Author
2014-08-27Nuke net.inet6.icmp6.rediraccept and allow redirects on interfacesFlorian Obser
with autoconf enabled. If one is doing SLAAC one does already trust link local icmp6 so the policy for icmp6 redirects should be the same. pointed out by & OK bluhm@; OK henning@
2014-08-26Create etc set during 'make build' and embed it in base set to makeRobert Peichaer
it available during a regular install or upgrade so that it doesn't need to be independently fetched. Idea, directions and OK deraadt@ Feedback and Ok halex@ and aja@
2014-08-10[] -> [[]]Robert Peichaer
OK krw@ "well ok" halex@
2014-08-10Convert if foo; then bar; fi blocks to foo && bar but leave out enable_network()Robert Peichaer
because it shares code&style with /etc/netstart. No functional change. with feedback and OK krw@ halex@
2014-08-10{ foo ; bar ; } -> { foo; bar; }Robert Peichaer
OK krw@
2014-08-09After a cleanup by deraadt I noticed the four-space-indent had startedAlexander Hall
infesting the scripts. As we generally use a single tab for line continuation indent in the scripts, let's reclaim 30 precious bytes! ok rpe@ krw@
2014-08-03smtpd got privsep'ed and the _smtpq user is now used to manage theseRobert Peichaer
directories. Ensure proper ownership in case smtpd has been started before this change. brought up by matthieu@ OK deraadt@
2014-07-28Avoid matching a particular driver for "aperture needed" detection.Mark Kettenis
On sparc64 we also need to match machfb(4) in addition to vgafb(4) so let's just match any driver. ok halex@, deraadt@
2014-07-28Change detection of unconfigured vlan interfaces from using flags toRobert Peichaer
looking for vlan id and parent interface. This avoids the creation of unconfigured vlan interface every time /install is restarted. Noted by and OK miod@ OK krw@ Positive feedback sthen@ claudio@
2014-07-22use a better style of sh code around apertureTheo de Raadt
2014-07-22tab->space; consistent with the other sysctl values.Antoine Jacoutot
2014-07-22Drop the "... during install" comments; they were missing in severalAntoine Jacoutot
places and it makes things simpler: no need to check for file existence. discussed with and ok deraadt@ rpe@
2014-07-21Bring back net.inet6.icmp6.rediraccept for rtsol. Pointed out byChristian Weisgerber
bluhm@ three days ago, oops.
2014-07-21Since net.inet6.ip6.accept_rtadv is gone, the installer shouldn'tChristian Weisgerber
set it. Provisionally drop net.inet6.icmp6.rediraccept, too.
2014-07-20if we think this is a laptop (wsdisplay.....) ask a lidsuspendTheo de Raadt
question. Let's see who whines.
2014-07-20match on vga1 or vgafb0, well, let's just call it vga.* for nowTheo de Raadt
2014-07-20place sysctl in sorted order; Jean-Philippe OuelletTheo de Raadt
2014-07-16convert to new readable format; requesting post-commit review by ingoTheo de Raadt
2014-07-16spacesTheo de Raadt
2014-07-16Add a comment at the top of sysctl.conf when it is created by theAntoine Jacoutot
installer. ok deraadt@ rpe@
2014-07-15Create /etc/sysctl.conf based upon the 3 variables we might want to setTheo de Raadt
at install time. ok aja
2014-07-13Only set machdep.allowaperture if 'vga1: aperture needed' is foundRobert Peichaer
in dmesg output. Use that information to decide whether or not to ask the user if he intends to use X. initial diff from and OK halex@ OK deraadt@
2014-07-13- move the ntpd.conf file to examples directoryRobert Peichaer
- move it from BIN1 to EXAMPLES in src/etc/Makefile - change the installer to create the file instead of editing it - add a '+' to the corresponding changelist entry suggested by and OK deraadt@ OK for the installer change krw@
2014-07-12xbase has its own cpp now so it doesn't depend on comp anymore.Robert Peichaer
Remove the code introduced in r1.723 to tie them together. OK deraadt@
2014-07-11take the directories specified by BSD.local.dist, and add them intoTheo de Raadt
4.4BSD.dist. The base set grows by a tiny amount, but we no longer need to run chroot'd dynamic mtree from the installer. ok espie halex schwarze
2014-06-16Allow autoinstall to fetch/install sets from multiple locations.Robert Peichaer
Noted by and OK sebastia@ OK halex@
2014-06-09remove sysmerge leftoversRobert Peichaer
OK halex@ krw@
2014-05-11Fix configuration of static IPv6 default gatewayRobert Peichaer
- Append IPv4 default gw to /tmp/mygate instead of overwriting it. - Delete /tmp/mygate at the beginning of configure_ifs() to reset previous default gw config on installer restarts. pointed out by todd@ OK halex@ krw@
2014-05-10Fix v6_defroute() for automatic installation.Robert Peichaer
OK krw@ halex@
2014-05-08"Server?" -> "HTTP Server?" to allow unambiguous auto-installKenneth R Westerback
handling. Confusion with "NTP Server?" reported by Xavier Claude via misc@. ok rpe@ halex@
2014-05-05Redirecting stderr to /dev/null suppresses all errors. Instead useAlexander Bluhm
the new status=none feature to make dd quiet. OK krw@ deraadt@
2014-05-04Revert previous. Insufficient discussion. IntroducesKenneth R Westerback
inconsistancy between configured and unconfigured interfaces. Requested by deraadt@
2014-05-04Make answering 'none' to the installer question "IPv6 address?" resultKenneth R Westerback
in no IPv6 address, by appending '-inet6' to the generated hostname.<if> file. Less surprising to many people. ok henning@ reyk@ beck@ rpe@
2014-04-25filter excess data from autoinstall output *before* it ends up in theAlexander Hall
log file on the ramdisk, in order not to run out of its precious space reported by, tested and ok sebastia@
2014-04-21Avoid a loop during autoinstall in case the path in the responsefile doesRobert Peichaer
not exist. OK halex@ krw@
2014-04-21Change dhcp_request() and v4_config() to be able to configure dhcpRobert Peichaer
for an interface without an active network connection. - Don't write options to dhclient.conf that are default. Only use the 'host-name' option for hostname associated dhcp requests. - Run dhclient with options to reduce the time it takes to finish in case it gets no answer from a DHCP server. - Don't bother removing the interface from group dhcp and save the configuration files even if dhclient fails. If the same interface is statically configured later, it is removed from the group dhcp. - Add 'dhcp' to hostname.if file regardless whether dhcp_request() was successful or not. - Change the Netmask question to be more autoinstaller friendly. based on krw's work discussed with and OK krw@
2014-04-21Use a better way that ensures that NIFS is really 0 if there are noRobert Peichaer
hostname.if files. suggested by and OK halex@ OK krw@
2014-04-21NIFS is supposed to represent the number of configured interfaces.Robert Peichaer
If an interface got configured twice, NIFS must not be incremented. So count the number of hostname.if files instead. discussed with and OK krw@
2014-04-20Only issue a single dhcp requests per interface with the host-nameRobert Peichaer
option set. Remove the second request, which does not provide the host-name option. The client supplied hostname is used in certain setups by DHCP servers to update DNS records on behalf of clients and ensures that the hostname information is in the lease db. discussed with deraadt ok krw@ halex@
2014-04-20Simplify shell pattern.Robert Peichaer
OK krw@
2014-04-19populateusrlocal() is used only once in finish_up(). Just fold it in there.Robert Peichaer
OK krw@ halex@
2014-04-19Simplify things by using the return code of ask_yn() directly insteadRobert Peichaer
of looking in resp. No need to specify 'no' as default answer. It's the default for ask_yn() anyway. OK krw@ halex@
2014-04-16Tweak network interface configuration so that after 1st attemptedKenneth R Westerback
(rather than first successfull) configuration, the default selection becomes [done]. This allows one to <cr> past network configuration. e.g. when dhcp is not working. Requested by deraadt@. ok halex@.
2014-04-04Change HTTP_PROXY back to http_proxy. This is an environment variableKenneth R Westerback
for ftp(1) and not an install script global variable. Pointed out by rpe@, and probably explains M. Lucas's problems of a few days ago. ok sthen@ halex@
2014-03-22Upper case another global variable (nifs -> NIFS).Kenneth R Westerback
2014-03-22Oops. MDMTDEVS is used to populate /dev. Put those bits back.Kenneth R Westerback
2014-03-22Remove 'tape' as a method for installing sets. Elite masters of unixKenneth R Westerback
arcana able to do without instructions for tape installs, can do without the crutch of script support. If any non-EMOUA tape users surface, this is easy to restore. ok halex@ on the actual diff.
2014-03-20FTP is so 20th century. Remove 'ftp' as a method to obtain installationKenneth R Westerback
sets. 'http' is the present. A bunch of related or triggered cleanup/consistenizing. Prodded by deraadt@, much feedback and testing by rpe@. ok rpe@
2014-03-10replace set size calculation with a fixed valueRobert Peichaer
- reduce complexity - don't abuse index.txt OK halex@ krw@
2014-03-02the map-to-lowercase scheme for msdos is not going to work, because otherTheo de Raadt
filesystems can contain mixed case files (ie. sgi). discussed with krw and halex