summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
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@
2015-07-19Replace test command with [].Robert Peichaer
OK halex@ krw@
2015-07-19Ensure, that we source rc.subr and parse rc.conf ONLY if we are notRobert Peichaer
inside /etc/rc. With help from and OK halex@, ajacoutot@
2015-07-18Put the opening curley brackets on the same line as the function name.Robert Peichaer
OK krw@ halex@
2015-07-18- remove trailing blanks introduced in previous commitRobert Peichaer
- no space in redirections like </foo or >$bar - few other minor whitespaces OK krw@
2015-07-18Improve commentsRobert Peichaer
- Add comments for functions - Start comments with capital letters - End comments with a full stop - Allow comments to extend up to column 80 OK krw@
2015-07-17Add _dpb, _pbuild, _pfetch users to make it easier for people doing dpbStuart Henderson
multi-user builds. Discussed with espie, ajacoutot, ok deraadt
2015-07-17Add an example for doas(1) logging and drop sudo and chat.Antoine Jacoutot
ok tedu@ rep@
2015-07-17enable exynosJonathan Gray
2015-07-15Drop comments; we already have a fully documented file underAntoine Jacoutot
/etc/examples/ntpd.conf ok deraadt@ benno@ schwarze@
2015-07-15Fix base rc.d scripts after the recent rc.subr change.Antoine Jacoutot
ok halex@
2015-07-15By default, require an exact match of the process name and argument list.Antoine Jacoutot
This allows running several instances of the same rc.d(8) script by just linking it to different name. e.g. ln -s ftpproxy ftpproxy6 echo 'ftpproxy6_flags=-6' >>/etc/rc.conf.local This is likely to break some rc.d scripts in ports. I will try and fix them all in the next few days but I'd appreciate reports if I missed some. ok halex@
2015-07-15Always use the default flags when running !start.Antoine Jacoutot
This is necessary so that rc.d scripts launched with `-f' can be properly stopped, checked and reloaded. ok schwarze@
2015-07-15Merge comments.Antoine Jacoutot
2015-07-07/var/unbound/db/root.key can be stored in plain text actually; that's justAntoine Jacoutot
the public key. prodded by semarie@ ok sthen@