summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* Remove the -v flag from the command line to dumpon(8), and instead printmtm2008-06-231-1/+2
| | | | diagnostic ouput only if the command fails.
* Argh! s/nfs_client_enable/nfsclient_enable/gmtm2008-06-232-4/+4
|
* Do not print anything unless one of the net/routing options is set.mtm2008-06-232-4/+35
|
* s/daemon processes/local packages/ for consisitency.mtm2008-06-231-1/+1
|
* Output information only if /etc/rc.local exists.mtm2008-06-221-4/+4
|
* Do not print anything unless at least one of the abi emulators ismtm2008-06-221-2/+8
| | | | enabled.
* Simplify this script with the added bonus that the bit about i386mtm2008-06-221-22/+17
| | | | initialization doesn't get printed unless ibcs2_enable is set.
* Don't say we're going to mount filesystems of a certain type unlessmtm2008-06-222-8/+25
| | | | there actually are filesystems of that type to mount.
* Don't say we're going to [start|stop] local packages unless there actuallymtm2008-06-221-4/+16
| | | | are local (pre rc.d) scripts to run.
* Make quota knob conform to other rc(8) knobs. Keep older knob formtm2008-06-191-1/+1
| | | | | | compatibility. Requested by: Volker <volker@vwsoft.com>
* Fix the wait for default route change I made a few weeks ago by creatingbrooks2008-06-054-28/+51
| | | | | | | a new defaultroute script that just does the wait. The previous attempt created a circular dependency through network_ipv6. Pointy hat to: brooks
* Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE andbz2008-05-264-59/+3
| | | | | | | | | | | | | | | | | | parts relied on the now removed NET_NEEDS_GIANT. Most of I4B has been disconnected from the build since July 2007 in HEAD/RELENG_7. This is what was removed: - configuration in /etc/isdn - examples - man pages - kernel configuration - sys/i4b (drivers, layers, include files) - user space tools - i4b support from ppp - further documentation Discussed with: rwatson, re
* Move the wait for a default route to rc.d/routing. Once we test forbrooks2008-05-182-24/+27
| | | | | | | non-dhcp interfaces to negotiate/associate this will make more sense. This also correctly gets run after both devd and netif are run so it has a chance of working.
* Change the default value of synchronous_dhclient to NO.brooks2008-05-151-0/+23
| | | | | | | | | To preserve the existing behavior of etc/rc.d/netif, add code to wait up to if_up_delay seconds (30 seconds by default) for a default route to be configured if there are any dhcp interfaces. This should be extended to test that the interface is actually up. X-MFC after:
* Don't require a configuration file. Ntpd will be perfectly happy if there'sflz2008-05-121-2/+0
| | | | | | | | none or if the file doesn't exist (there's no ntp.conf in the base install). PR: conf/119592 Submitted by: Renaud Waldura <renaud+freebsd@waldura.org> MFC after: 1 week
* Specify the full path to the md5(1) binary so the script willmtm2008-05-061-1/+1
| | | | | | | still work even if it's not in the shell's path. PR: conf/122215 MFC after: 1 week
* Make it possible to disable sources of entropy harvesting.ru2008-04-221-9/+11
| | | | | Noticed by: Igor Sysoev MFC after: 3 days
* rc support for vapssam2008-04-203-69/+25
|
* Add very limited support for the isc-dhclient. It will almostly certaintlybrooks2008-04-151-0/+4
| | | | | | | | only work if there's just one interface doing dhcp. This version implements the same logic as the version in the PR, but uses pgrep to be less verbose. PR: conf/95905 MFC after: 1 week
* Declare _ppp_profile_cleaned, _punct, and _punct_c local inbrooks2008-04-101-0/+1
| | | | | | | ppp_start_profile(). Reported by: yar MFC after: 1 week
* Add rfcomm_pppd_server rc script to allow start rfcomm_pppd(8) in serveremax2008-04-082-1/+123
| | | | | | | | | mode at boot time. Multiple profiles can be started at the same time. The whole idea is very similar to the ppp rc script. Document Bluetooth knobs in rc.conf(5) MFC after: 1 week
* o add rc.conf knobs to set the wpa_supplicant program, logging flags,sam2008-04-081-3/+3
| | | | | | | | | and config file o change default logging options from -q to -s (log to syslog); this is currently broken for boot-time startup as syslogd is started too late but that'll be dealt with separately MFC after: 2 weeks
* add support wired interfacessam2008-04-081-1/+17
| | | | MFC after: 2 weeks
* spell pidfile correctly so multiple wpa_supplicant processes can be runsam2008-04-081-2/+2
| | | | MFC after: 1 week
* Fix a stupid typo.brooks2008-04-061-1/+1
| | | | Reviewed by: bz
* Back out revision 1.6, the addition of "BEFORE: mountcritremote".dougb2008-04-021-1/+0
| | | | | | | | mountcritremote REQUIREs FILESYSTEMS, and that script REQUIREs zfs, so this change is a noop. By removing it we make life a little easier both for rcorder(8) and for debugging down the road. Approved by: 2 weeks of silence from pjd
* Add support for hardwiring ppp sessions to particular devices with newbrooks2008-03-281-1/+8
| | | | | | | | | per-profile variables of the form ppp_<profile>_unit. No ppp_unit variable is supported since tying the same unit to more than one profile won't work. PR: conf/122127 MFC after: 1 week
* Allow the characters .-+/ to appear in ppp profile names by folding thembrooks2008-03-261-2/+7
| | | | | | | | to _ when evaluating ppp_<profile>_nat and ppp_<profile>_mode. Document the per-profile variables. PR: conf/121452, conf/122127 (partial) MFC after: 1 week
* Be sure to run rc.d/zfs before mountcritremote. This way we can for examplepjd2008-03-191-0/+1
| | | | | | configure devfs rules in /etc/devfs.conf for ZVOLs. Submitted by: Yarema <yds@CoolRat.org>
* Do nextboot -D twice during boot. The first time in rc.d/root which ensures ↵delphij2008-03-111-1/+1
| | | | | | | | | | | | | that we can remove the file as early as possible, but shut up nextboot at this moment if the operation is failed, because /boot is not necessarily a part of /; the newly added second run is placed in rc.d/mountlate after all filesystems were mounted. Discussed at: -rc@ Suggestions from: brooks, mtm MFC after: 1 month
* rootdelphij2008-03-111-0/+6
|
* The check for errors from the mount command did not work as intendedmtm2008-03-062-2/+8
| | | | | | | | because another command (echo) is executed between the mount command and the check. Reported by: Sergey Baturov <sergey@toor.org.ru> MFC after: 2 weeks
* Use the new command file feature of ddb(8) to support setting ddb(4)brooks2008-03-052-1/+33
| | | | | | | | | scripts at boot. This is currently disabled by default. /etc/ddb.conf contains some potentially reasonable default scripts. PR: conf/119995 Submitted by: Scot Hetzel <swhetzel at gmail dot com> (Earlier version) X-MFC after: textdumps
* When the state of the interface changes rapidly enough (usually due tobrooks2008-02-011-1/+5
| | | | | | | | | | | | | rapid wireless association changes in my experience), there is a race where dhclient is in the process of exiting due to the link going down when the link coming up causes devd to try and start a new one. This results is the link being up, but no dhclient running. Work around this race by checking a second time after a one second delay before refusing to start a dhclient instance due to one already being running. MFC after: 1 week
* Add a dummynet_enable knob to go with firewall_enable. If this knobmtm2008-01-271-0/+8
| | | | | | | | is enabled dummynet(4) is added to the list of required modules. Discussed on: #freebsd-bugbusters (rwatson, trhodes) PR: conf/79196 MFC after: 1 week
* Generally, anything that runs rc.d scripts internally shouldmtm2008-01-263-5/+5
| | | | start using the quiet prefix (i.e. quietstart, quietstop, etc...).
* Re-implement: do not silently fail when a command is not carriedmtm2008-01-261-1/+1
| | | | | | | | | | | | | | | out because the rc.conf(5) variable was not enabled. Display a message that the command wasn't run and offer suggestions on what the user can do. Implement a quiet prefix, which will disable some diagnostics. The fast prefix also implies quiet. During boot we use either fast or quiet. For shutdown we already use 'faststop'. So, this informational message should only appear during interactive use. An additional benefit of having a quiet prefix is that we can start putting some of our diagnostic messages behind this knob and start "de-cluttering" the console during boot and shutdown.
* Rev. 1.6 made it impossible to use rc.d/kerberos with the krb5 port.mtm2008-01-251-1/+0
| | | | | | | | Re-implement the change so that the script once again works with the krb5 port. Submitted by: kensmith (slightly modified) MFC after: 3 days
* Shorter equivalent of the command.ru2008-01-241-1/+1
|
* Add warning about this script dealing with untrusted data.simon2008-01-131-0/+6
| | | | MFC after: 1 week
* Only pass paths to directories or config files that exist for ldconfig forjhb2007-12-131-2/+8
| | | | | | 32-bit binaries. MFC after: 3 days
* Add an empty stop_cmd to the remaining scripts that don't startdougb2007-12-084-0/+4
| | | | daemons and don't already have one.
* Remove a meaningless KEYWORDdougb2007-12-081-1/+1
|
* Remove the bootconf.sh script. It was never used on FreeBSD, and wasdougb2007-12-081-81/+0
| | | | removed from the Makefile in version 1.5 (2002/09/02) but never GC'ed.
* Remove spurious # marks to be more consistent with existing style.dougb2007-12-084-4/+0
|
* Remove empty REQUIRE linedougb2007-12-081-1/+0
|
* Remove $NetBSD$ CVS tags. We no longer attempt to synch our rc.d filesdougb2007-12-0855-55/+0
| | | | | with theirs, so this information doesn't need to be in the live file. Having it in our CVS history is enough.
* Add reload functionality.brix2007-11-141-1/+3
| | | | | PR: conf/116659 Approved by: sam, erwin (mentor)
* Nuke rc.d/nfslocking which has been superceeded by rc.d/{lockd,statd}mtm2007-10-252-64/+1
|
* Remove unnecessary whitespacemtm2007-10-251-1/+1
|
OpenPOWER on IntegriCloud