summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2015-09-29Besides the usual style changes:Robert Peichaer
- verify that kbd is executable and kbdtype is not empty - use safer 'print --' to pipe the initial pf ruleset to pfctl - simplify the ipsecctl if-block Feedback and OK halex@ OK krw@
2015-09-27Don't print output when setting autoconf on interfaces. Suggested by deraadt,Stuart Henderson
ok florian@ rpe@
2015-09-27Add IP26 kernels and boot blocks to the installation media.Miod Vallat
2015-09-27add Ed25519 SSH host key; ok deraadt@Christian Weisgerber
2015-09-20Enable IP26 builds.Miod Vallat
2015-09-13Rename __sysctl syscall to just sysctl, as the userland wrapper is no longerPhilip Guenther
necessary ok deraadt@ jsing@
2015-09-13only print the "IPv6 autoconf" line if there are interfaces to configureStuart Henderson
feedback/ok rpe
2015-09-13- FOO=bar; export FOO -> export FOO=barRobert Peichaer
- run domainname only with a non-empty /etc/defaultdomain file - Make single-user if-block more intuitive, which also matches better what the comment actually says OK halex@, krw@ on a similar diff
2015-09-13Remove setup_X_sockets():Robert Peichaer
The creation of Unix sockets directories in /tmp for X happens right after pruning /tmp. So the whole dance of checking for their existence, ownership or permissions is not necessary. It's safe to just create them with the right permissions if X is installed. Changes to do_fsck(): Remove the _flags variable and pass flags to fsck directly with "$@". Feedback and OK halex@ OK krw@ on a similar diff
2015-09-12Provide an ftpproxy6 rc script. ftp-proxy can only open one listening socketStuart Henderson
at a time, so a second instance of the daemon is required. OK mikeb stsp ajacoutot
2015-09-11the parser doesn't accept "inet" here; pointed out by Denis Fondras on miscStuart Henderson
2015-09-11When ARIN prepared for the IPv4-pocolypse, they put aside a /10 forPeter Hessler
**smaller than /24 allocations**. Our default ruleset will not allow those, even though they will be for various pieces of critical dual-stack infrastructure to help IPv6-only systems survive. This adds a default rule to allow those blocks. With it, I see the RIPE announced test blocks on our AMS-IX peers. ARIN announced this block and policy at, enjoy https://www.arin.net/announcements/2014/20140130.html OK benno@, claudio@, sthen@, florian@
2015-09-11Set "inet6 autoconf" individually on interfaces that have rtsol set inStuart Henderson
hostname.if, previously netstart tried to configure them all at once ("ifconfig if0 if1 if2 inet6 autoconf"). From Delan Azabani, ok phessler@
2015-09-07sync to BOOTIA32.EFI changeTheo de Raadt
2015-09-02copy from mdec to reldirTheo de Raadt
2015-09-02ship BOOTX64.EFI BOOTX86.EFITheo de Raadt
2015-08-29handle minirootTheo de Raadt
2015-08-28fakeramdisk entry for minirootTheo de Raadt
2015-08-28Changes for start_daemon():Robert Peichaer
- use more descriptive variable name Changes for make_keys(): - use variables for file paths - key -> keys in message - take into account the return codes of isakmpd private *and* public key generation OK krw@ halex@
2015-08-27Update: add include/libdrm, sort include/EGL, add share/util-macrosMatthieu Herrb
2015-08-24/usr/share/sysmerge -> /var/sysmergeAntoine Jacoutot
requested by several discussed with deraadt@
2015-08-22- add usage infoRobert Peichaer
- initialize _ban variable - style OK halex@
2015-08-22Restore previous behaviour for wsconsctl_conf().Robert Peichaer
In wsconsctl.conf configuration variables can contain doublequotes which are removed by the shell if wsconsctl is used interactively. In scripts, without using eval, these doublequotes are preserved and the wsconsctl command complains about "illegal character in input". Found by and OK jmc@ With feedback from and OK krw@, halex@
2015-08-21Regen moduliDarren Tucker
2015-08-18Add a couple of ":"s at the end of lines for consistancy. Not required,Kenneth R Westerback
but these are the only two lines in any disktab that do it this way. ok miod@
2015-08-17sendmail in ports has it's own rc.d file no need to keep this oneJonathan Gray
ok jca@ aja@
2015-08-14The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISKKenneth R Westerback
flags in the disklabel. These flags were discarded in 2006. Remove documentation for and instances of 'ty'. Add instances of 'dt' that were missing. Use 'floppy' as the value of 'dt' for all floppies and 'rdroot' for all boot images/miniroots. Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, since 'dt' values are parsed by matching entries in dktypenames[]. Slightly tweaked part of larger cleanup diff previously ok deraadt@.
2015-08-14Move locate(1) database build directory back to /tmp and kill non-existentRafael Zalamena
/usr/tmp references. Diff from Craig Skinner via tech@ plus a /usr/tmp removal from me in the updatedb script. ok millert@.
2015-08-13Oops. Missed a 'ts=' in previous commit.Kenneth R Westerback
2015-08-13'sk', 'cs', 'hs', 'ts' were removed from getdiskbyname() in 2007Kenneth R Westerback
with r1.18. 'rm' and 'il' were removed from getdiskbyname() in 2009 with r1.19. The associated disklabel fields were recycled for other purposes. Another 'harmless' part of the larger disklabel cleanup diff. ok deraadt@ as part of that larger diff.
2015-08-13Changes to sysctl_conf(), mixerctl_conf() and wsconsctl_conf():Robert Peichaer
- no need to check for non-empty *.conf files, stripcom handles that now - pipe stripcom output directly to while-read-loop - quote the argument to the *ctl commands - no need to double shutup mixerctl, -q already means quiet OK krw@, halex@
2015-08-12Start the rework of the /etc/rc shell script.Robert Peichaer
General changes: - apply a similar 'style' as used in the installer scripts - improve comments to be more to the point, remove where code is obvious - document usage of functions if they have arguments - rename variables where it improves readability - replace really old-school shell code with more contemporary idioms Changes to stripcom(): - skip empty files (eleminates tests for this before calling stripcom) - remove {} around the while-loop, feed file directly - instead of continue if empty and then print, print only if non-empty - use the safer "print -r --" instead of plain "echo" - quote "$_line" on output to prevent globbing Changes to update_limit(): - use {,-cur,-max} instead of "" -cur -max - eleminate if-block with reverse test and continue OK halex@ krw@
2015-08-04install the radiusd rc.d fileJonathan Gray
ok deraadt@
2015-08-03Place etc/defaults/radiusd.conf and etc/rc.d/radiusd. Modify etc/rcYASUOKA Masahiko
to hook the rc script and modify etc/rc.conf to make it disable by default. Also add an entry for /etc/radiusd.conf to etc/changelist and etc/mtree/special. ok deraadt
2015-08-01Make use of u-boot 2015.07's unified wandboard config to provide aJonathan Gray
miniroot to cover all current wandboard variations. Unlike the other imx u-boot configs the wandboard config doesn't search for ext2 only a fat fs. Grow the ramdisk size to fit the extra u-boot files. From Roman Kravchuk.
2015-07-27Fix geometry of rdroot entry soKenneth R Westerback
nt# * ns# * nc# == pc# == pa# which makes for a better disklabel via getdiskbyname(). ok deraadt@
2015-07-27Add services entries for BFD (RFC5880), and reorder MS RDP while there.Stuart Henderson
From Denis Fondras, ok deraadt
2015-07-26Fix ba# attribute in rdroot entry. It should be 4096 (a valid size forKenneth R Westerback
a FFS block), not 4480 (the size of the partition). ok millert@
2015-07-23add doas.conf to mtree (from Theo Buehler) and changelist. ok phessler@Stuart Henderson
2015-07-22Generate new moduli.Darren Tucker
2015-07-21Add the _radiusd user.Antoine Jacoutot
ok sthen@
2015-07-21Add radiusd(8) and radiusctl(8). They are WIP. radiusd(8) is a RADIUSYASUOKA Masahiko
server and radiusctl(8) is to control the server. radiusd(8) currently supports bsdauth and radius (upstream radius servers) as authentication backends. fixes from jsg blambert ok deraadt
2015-07-21Add _radius to etc/master.passwd and etc/group for coming radiusd.YASUOKA Masahiko
ok deraadt
2015-07-20add class used by the _pbuild user for DPB, ok ajacoutot@Stuart Henderson
2015-07-20Disable Strict Bourne shell mode for /etc/rc and /etc/netstart to beRobert Peichaer
able to use ksh syntax within these scripts. This way init doesn't need to be changed, which starts /etc/rc using /bin/sh and people can still use "sh /etc/netstart ifname". Idea from and OK halex@ OK deraadt@ krw@ guenther@
2015-07-19Bring up pflow last as it might send with a source address that is onFlorian Obser
any of the other interfaces. OK deraadt, phessler, benno
2015-07-19Always source rc.subr to be able to use the rc.conf parsing routineRobert Peichaer
to get the network related vars from rc.conf. This is even necessary if netstart is run from within /etc/rc. Remove test of $INRC which unintentionally evaluated always to true. problem with previous change found by nigel@ OK sthen@ aja@ halex@
2015-07-19remove code from unbound's rc script that generates control keys/certs ifStuart Henderson
control-enable is used, our standard configuration is using unix domain sockets without certs. existing setups with already-created certificates are ok, if somebody needs remote+certs they can generate keys themself. ok florian@
2015-07-19change default unbound config to enable the control socket, without usingStuart Henderson
keys/certificates for auth. ok florian@
2015-07-19Revert 1.148 for now until I can talk to rpe@Antoine Jacoutot
It introduced a regression reported by nigel@