summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Move all test integration pieces for etc/ from etc/ to tests/ngie2015-05-181-4/+0
| | | | | | | | | | | This is being done to fix breakage with make distribution with read-only source trees as make distribution doesn't use make obj like building tests/ does in all cases Reported by: Wolfgang Zenker <wolfgang@lyxys.ka.sub.org> Suggested by: jhb X-MFC with: r282059 MFC after: 1 week
* Move etc/tests/rc.d to etc/rc.d/tests to match the desired directory layoutngie2015-04-131-0/+4
|
* Add an rc.d script to invoke iovctl(8) during bootrstone2015-03-011-0/+1
| | | | | | | | Differential Revision: https://reviews.freebsd.org/D88 Reviewed by: wblock, emaste, allanjude MFC after: 1 month Relnotes: yes Sponsored by: Sandvine Inc.
* Remove explicit routing/sendmail rc.d inclusion in FILESngie2015-02-091-2/+0
| | | | | | | Reported by: Guy Yur <guyyur@gmail.com> MFC after: 14 days X-MFC with: r278249 Sponsored by: EMC / Isilon Storage Division
* Use FILES+= idiom instead of _inetd when referencing inetd rc.d scriptngie2015-02-051-1/+1
| | | | | | | | | | | This was a discrepancy between ^/projects/building-blocks and ^/head that I didn't resolve before committing the change to ^/head Pointyhat to: me Reported by: jhb MFC after: 20 days X-MFC with: r278249 Sponsored by: EMC / Isilon Storage Division
* Honor the following flags with the following rc.d scripts for services that canngie2015-02-051-14/+49
| | | | | | | | | | | | | | | | | | | | | be easily decoupled from the boot process without disrupting other services - MK_APM && MK_ACPI: powerd - MK_BOOTPARAMD: bootparams - MK_FTP: ftpd - MK_INETD: inetd - MK_LEGACY_CONSOLE: moused, syscons - MK_MAIL: othermta - MK_NS_CACHING: nscd - MK_NTP: ntpd (ntpdate is required by other services and can't be easily conditionalized -- yet..) - MK_ROUTED: routed - MK_SENDMAIL: sendmail - MK_TIMED: timed - MK_VI: virecover MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division
* Remove hostapd and wpa_supplicant from FILES so they're installed conditionallyngie2015-02-021-2/+0
| | | | | | | if MK_WIRELESS != no MFC after: 3 days X-MFC with: r277740
* Respect MK_KERBEROS with etc/rc.d/ipropd_master and etc/rc.d/ipropd_slavengie2015-01-261-2/+2
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicantngie2015-01-261-0/+5
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Honor MK_JAIL with etc/rc.d/jailngie2015-01-261-1/+4
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Honor MK_ACCT with etc/rc.d/accountingngie2015-01-261-0/+4
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Remove explicit inclusion of lpd from FILESngie2015-01-261-1/+0
| | | | | | X-MFC with: 277731 MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Honor MK_AMD with etc/rc.d/amdngie2015-01-261-1/+4
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Honor MK_API in etc/rc.dngie2015-01-261-2/+5
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Honor MK_LPR with etc/rc.d/lpdngie2015-01-261-0/+4
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Honor MK_ACPI in etc/devd and etc/rc.dngie2015-01-261-1/+4
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Add MK_AUTOFS knob for building and installing autofs(4), et alngie2015-01-261-3/+6
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Add MK_HAST knob for building and installing hastd(8), et alngie2015-01-261-1/+4
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Install bsnmp rc.d script if MK_BSNMP != nongie2015-01-251-1/+4
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Add MK_CCD knob for building and installing ccd(4), ccdconfig, etcngie2015-01-251-1/+4
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Add MK_ISCSI knob for building the iscsi initiator, iscsi daemon, kernelngie2015-01-251-2/+5
| | | | | | | modules, etc MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Remove etc/rc.d/mroutedngie2014-11-301-1/+0
| | | | | | | | | mrouted has been available in ports for the last 8 years as net/mrouted . An equivalent rc.d script has been present in the port. Remove all corresponding variables from etc/defaults/rc.conf Relnotes: yes
* Renove faith(4) and faithd(8) from base. It looks like industrymelifaro2014-11-091-1/+0
| | | | | | | | | have chosen different (and more traditional) stateless/statuful NAT64 as translation mechanism. Last non-trivial commits to both faith(4) and faithd(8) happened more than 12 years ago, so I assume it is time to drop RFC3142 in FreeBSD. No objections from: net@
* Get rid of the postrandom script. It was born in a time when thedes2014-11-021-1/+0
| | | | | | | | | | | random script ran before filesystems were mounted, which is no longer the case. In random_start(), immediately delete each file that is fed into /dev/random, and recreate the default entropy file immediately after reading and deleting it. The logic used in random_stop() to determine which file to write to should probably be factored out and used here as well.
* add an rc.d script to automatically grow the specified FS... It hasjmg2014-11-021-0/+1
| | | | | been tested on both MBR and GPT... It won't be enabled until you add growfs_enable="YES" and will only run on first boot..
* This is the much-discussed major upgrade to the random(4) device, known to ↵markm2014-10-301-1/+0
| | | | | | | | | | | | | | | | | | | you all as /dev/random. This code has had an extensive rewrite and a good series of reviews, both by the author and other parties. This means a lot of code has been simplified. Pluggable structures for high-rate entropy generators are available, and it is most definitely not the case that /dev/random can be driven by only a hardware souce any more. This has been designed out of the device. Hardware sources are stirred into the CSPRNG (Yarrow, Fortuna) like any other entropy source. Pluggable modules may be written by third parties for additional sources. The harvesting structures and consequently the locking have been simplified. Entropy harvesting is done in a more general way (the documentation for this will follow). There is some GREAT entropy to be had in the UMA allocator, but it is disabled for now as messing with that is likely to annoy many people. The venerable (but effective) Yarrow algorithm, which is no longer supported by its authors now has an alternative, Fortuna. For now, Yarrow is retained as the default algorithm, but this may be changed using a kernel option. It is intended to make Fortuna the default algorithm for 11.0. Interested parties are encouraged to read ISBN 978-0-470-47424-2 "Cryptography Engineering" By Ferguson, Schneier and Kohno for Fortuna's gory details. Heck, read it anyway. Many thanks to Arthur Mesh who did early grunt work, and who got caught in the crossfire rather more than he deserved to. My thanks also to folks who helped me thresh this out on whiteboards and in the odd "Hallway track", or otherwise. My Nomex pants are on. Let the feedback commence! Reviewed by: trasz,des(partial),imp(partial?),rwatson(partial?) Approved by: so(des)
* - Honer MK_KERBEROS for Heimdal rc.d scripts.hrs2014-10-191-4/+11
| | | | - Add rc.c/kerberos to OLD_FILES.
* Don't install /etc/rc.d/keyserv unless MK_OPENSSL == yesngie2014-09-231-1/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* Don't install /etc/rc.d/ftp-proxy unless MK_PF == yesngie2014-09-201-1/+4
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Don't install /etc/rc.d/rwho unless MK_RCMDS == yesngie2014-09-201-1/+4
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Sort the optional rc.d scripts by their knobsngie2014-09-201-11/+11
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Use a devd event to start hv_kvpd instead of doing so in rc.d script.delphij2014-09-171-5/+0
| | | | | | | | This is cleaner and eliminates the unneeded startup of KVP daemon on systems that do not run as a Hyper-V guest. Submitted by: hrs X-MFC-with: 271493, 271688, 271699
* Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft,delphij2014-09-131-0/+5
| | | | | | | | | | | | | | many thanks for their continued support of FreeBSD. While I'm there, also implement a new build knob, WITHOUT_HYPERV to disable building and installing of the HyperV utilities when necessary. The HyperV utilities are only built for i386 and amd64 targets. This is a stable/10 candidate for inclusion with 10.1-RELEASE. Submitted by: Wei Hu <weh microsoft com> MFC after: 1 week
* Restructure rc.d scripts for kerberos5 daemons:hrs2014-08-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | - Rename $kerberos5_server_enable with $kdc_enable and rename rc.d/kerberos with rc.d/kdc. - Rename $kadmin5_server_enable with $kadmind_enable. - Rename ${kerberos5,kpasswdd}_server with ${kdc,kpasswdd}_program. - Fix rc.d/{kadmind,kerberos,kpasswdd,kfd} scripts not to change variables after load_rc_config(). - Add rc.d/ipropd_master and rc.d/ipropd_slave scripts. These are for iprop-master(8) and iprop-slave(8). Keytab used for iprop service is defined in ipropd_{master,slave}_keytab (/etc/krb5.keytab by default). - Add dependency on rc.d/kdc to SERVERS. rc.d/kdc must be invoked as early as possible before scripts divided by rc.d/SERVERS. Note that changes to rc.d/{kdc,kpasswdd,kadmind} are backward-compatible with the old configuration variables: ${kerberos5,kpasswdd,kadmin5}_server{,_enable,_flags}.
* Bring in the new automounter, similar to what's provided in most othertrasz2014-08-171-0/+3
| | | | | | | | | | | | | UNIX systems, eg. MacOS X and Solaris. It uses Sun-compatible map format, has proper kernel support, and LDAP integration. There are still a few outstanding problems; they will be fixed shortly. Reviewed by: allanjude@, emaste@, kib@, wblock@ (earlier versions) Phabric: D523 MFC after: 2 weeks Relnotes: yes Sponsored by: The FreeBSD Foundation
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| | | | from the latter.
* Remove IPX support.glebius2014-03-141-5/+0
| | | | | | | | | | | IPX was a network transport protocol in Novell's NetWare network operating system from late 80s and then 90s. The NetWare itself switched to TCP/IP as default transport in 1998. Later, in this century the Novell Open Enterprise Server became successor of Novell NetWare. The last release that claimed to still support IPX was OES 2 in 2007. Routing equipment vendors (e.g. Cisco) discontinued support for IPX in 2011. Thus, IPX won't be supported in FreeBSD 11.0-RELEASE.
* Honor WITHOUT_CASPER.gjb2013-12-211-1/+5
| | | | Sponsored by: The FreeBSD Foundation
* Start-up script for casperd daemon.pjd2013-12-161-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* Remove remnants of BIND from /etc, since there is no BIND in base now.glebius2013-11-051-1/+0
| | | | | | | Sorry, that would break users running head and BIND from ports, since ports rely on these scripts. The ports will be fixed soon. Reviewed by: erwin
* Do not install bluetooth rc(8) scripts if MK_BLUETOOTH = no.gjb2013-10-031-3/+6
| | | | | | Approved by: re (glebius) MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Add a setup script for unbound(8) called local-unbound-setup. Itdes2013-09-231-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | generates a configuration suitable for running unbound as a caching forwarding resolver, and configures resolvconf(8) to update unbound's list of forwarders in addition to /etc/resolv.conf. The initial list is taken from the existing resolv.conf, which is rewritten to point to localhost. Alternatively, a list of forwarders can be provided on the command line. To assist this script, add an rc.subr command called "enabled" which does nothing except return 0 if the service is enabled and 1 if it is not, without going through the usual checks. We should consider doing the same for "status", which is currently pointless. Add an rc script for unbound, called local_unbound. If there is no configuration file, the rc script runs local-unbound-setup to generate one. Note that these scripts place the unbound configuration files in /var/unbound rather than /etc/unbound. This is necessary so that unbound can reload its configuration while chrooted. We should probably provide symlinks in /etc. Approved by: re (blanket)
* Bring in the new iSCSI target and initiator.trasz2013-09-141-0/+3
| | | | | | Reviewed by: ken (parts) Approved by: re (delphij) Sponsored by: FreeBSD Foundation
* - Add vnode-backed swap space specification support. This is enabled whenhrs2013-06-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | device names "md" or "md[0-9]*" and a "file" option are specified in /etc/fstab like this: md none swap sw,file=/swap.bin 0 0 - Add GBDE/GELI encrypted swap space specification support, which rc.d/encswap supported. The /etc/fstab lines are like the following: /dev/ada1p1.bde none swap sw 0 0 /dev/ada1p2.eli none swap sw 0 0 .eli devices accepts aalgo, ealgo, keylen, and sectorsize as options. swapctl(8) can understand an encrypted device in the command line like this: # swapctl -a /dev/ada2p1.bde - "-L" flag is added to support "late" option to defer swapon until rc.d/mountlate runs. - rc.d script change: rc.d/encswap -> removed rc.d/addswap -> just display a warning message if $swapfile is defined rc.d/swap1 -> renamed to rc.d/swap rc.d/swaplate -> newly added to support "late" option These changes alleviate a race condition between device creation/removal and swapon/swapoff. MFC after: 1 week Reviewed by: wblock (manual page)
* Merge a number of changes required to hook up OpenBSM 1.2-alpha2'srwatson2012-12-011-0/+1
| | | | | | | | | | | | | | | | | | | auditdistd (distributed audit daemon) to the build: - Manual cross references - Makefile for auditdistd - rc.d script, rc.conf entrie - New group and user for auditdistd; associated aliases, etc. The audit trail distribution daemon provides reliable, cryptographically protected (and sandboxed) delivery of audit tails from live clients to audit server hosts in order to both allow centralised analysis, and improve resilience in the event of client compromises: clients are not permitted to change trail contents after submission. Submitted by: pjd Sponsored by: The FreeBSD Foundation (auditdistd)
* Add postrandom.obrien2012-09-111-0/+1
|
* - Add rc.d script for kfd, kerberos forwarded tickets daemon.stas2012-04-101-0/+1
|
* Move utmpx handling out of init(8).ed2012-02-111-0/+5
| | | | | | | | | | | | | | | | | This has the following advantages: - During boot, the BOOT_TIME record is now written right after the file systems become writable, but before users are allowed to log in. This means that they can't cause `hidden logins' by logging in right before init(8) kicks in. - The pututxline(3) function may potentially block on file locking, though this is very rare to occur. By placing it in an rc script, the user can still kill it with ^C if needed. - Most importantly: jails don't use init(8). This means that a force reboot of a system running jails will leave stale entries in the accounting database of the jails individually.
* - Put one file into one line. This makes keeping local changes and mergingpjd2011-12-151-39/+154
| | | | | | | | | with FreeBSD easier for vendors. - For optional files use variables starting with underscore. Both changes make rc.d/Makefile look similar to sys/modules/Makefile. Reviewed by: dim
* Add etc/rc.d/static_ndp, analogous to etc/rc.d/static_arp.mm2011-10-231-1/+1
| | | | | | | | | | Make sure that static ARP and NDP bindings are set before NETWORKING. As static_ndp is based on static_arp, pass copyright to the project with permission of the original author (delphij@). Reviewed by: delphij@FreeBSD.org MFC after: 3 days
OpenPOWER on IntegriCloud