summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* Make the 'restart' command work. Otherwise, it would successfullymtm2003-03-301-4/+15
| | | | | | | | | | | | stop ipfw, but not enable it again. Aesthetic changes o Use positve logic (instead of negative) o create a 'stop' function, rather than putting the commands in the stop_cmd variable. Submitted by: des Approved by: markm (mentor) (implicit)
* add missing `ipf -s'.ume2003-03-221-0/+1
| | | | Submitted by: Mark Huizer <xaa+freebsd@timewasters.nl>
* Attach the kldxref script to the build/install.cjc2003-03-171-1/+1
|
* A new rc-ng script to build linker.hints files with kldxref(8)cjc2003-03-171-0/+35
| | | | | automatically at boot time. Associated rc.conf(5) knobs and documentation are included.
* Initiate KerberosIV de-orbit burn. Disconnect the /etc configs.markm2003-03-082-18/+0
|
* Latest IPFilter requires flushing rules for IPv6 separatelyume2003-03-051-0/+2
| | | | from IPv4.
* Don't try to deal with vi.recover if the directory doesn't existdougb2003-02-211-0/+1
| | | | | PR: conf/24515 Submitted by: Jeroen C. van Gelderen <jeroen@systemics.com>
* We stopped reloading rc.conf for each script a long time ago. Thingsmtm2003-02-161-2/+2
| | | | | | | shouldn't depend on that any more. PR: conf/48332 Approved by: markm (mentor)(implicit)
* kenv moved from /usr/bin/ to /bin/.jhay2003-02-154-12/+12
|
* Add another backslash ('\').jhay2003-02-151-1/+1
|
* When cleaning /var/run make sure the control files are not removedmtm2003-02-152-2/+6
| | | | | | | | unconditionally when the script is being rerun (when it is called with the reload argument). PR: conf/47517 Approved by: markm (mentor)
* Back out 1.143 and 1.144. They are no longer needed now that we startimp2003-02-121-6/+0
| | | | | | devd later in the boot process. This should fix all the problems people have had with those commits. Diskless should be working again, and those that mount /usr with nfs should be able to do that again too.
* Start devd after the networking stuff, but before we mount theimp2003-02-121-2/+2
| | | | | | | | | | | critical remote systems. This lets us run commands from devd that aren't on the / partition. This also means we can remove some kludges from the networking startup that I added a while ago that caused other problems. There's still a race in starting devd that needs to be fixed in devd so that things present at boot will be configured by the time devd does daemon(). That race will be fixed later.
* Now that we don't have the NODEVFS case, we can just check to see if aimp2003-02-121-0/+3
| | | | | | | device node exists directly to see if OLDCARD is compiled into the kernel. This eliminates the scary warning that people using NEWCARD are seeing when they have pccard_enable=YES in their /etc/rc.conf files.
* NETWORKING should also mean routing daemons are up.mtm2003-01-255-8/+5
| | | | Approved by: markm (mentor)
* Start isdnd before ppp for those folks who use ppp-over-isdn.mtm2003-01-254-5/+4
| | | | Approved by: markm (mentor)
* Read /etc/rc.subr.mtm2003-01-251-0/+2
| | | | | Approved by: markm (mentor)(implicit) Noticed by: kris
* Cleanup as many instances of rc.conf variable use beforemtm2003-01-247-17/+16
| | | | | | calling load_rc_config(). Approved by: markm (mentor) dougb
* Missing '$'mtm2003-01-231-1/+1
| | | | Approved by: markm (mentor)(implicit)
* Add a missing OR.mtm2003-01-203-6/+6
| | | | Approved by: markm (mentor)(implicit)
* Purely cosmetic change.mtm2003-01-161-1/+1
| | | | | | The # PROVIDE line should precede the # REQUIRE line. Approved by: markm (mentor)
* Finish merging in rev. 1.124 of rc.network, so that natd can be usedmtm2003-01-141-2/+2
| | | | | | | | | | | withough the $natd_interface having to be explicitly specified on the command line. Approved by: markm (mentor) Submitted by: Aaron D. Gifford <agifford@infowest.com> PR: conf/47024 MFC: upon re approval
* Fix the named script to find the correct pid file for themtm2003-01-121-2/+2
| | | | | | | | | | | | named(8) daemon by providing a new rc.conf knob: named_pidfile that defaults to the path specified in the system-installed named.conf(5). Approved by: markm (mentor) Reviewed by: dougb Noticed by : Galen Sampson <galen_sampson@yahoo.com> Dan Pelleg <daniel+bsd@pelleg.org> PR: conf/46402 MFC: 2 weeks (with re@ approval)
* Forgot to add rcconf.sh to the Makefile, and forgot to rename rcconf todillon2002-12-222-1/+1
| | | | rcconf.sh in the last commit.
* Do not unconditionally load the configuration files for the RCNG case.dillon2002-12-227-199/+477
| | | | | | | | | | | | | | Instead, load them as part of the rc.d system. This allows us to prioritize the initidiskless script so it runs before the configuration files are loaded and allows us to get rid of the exit 2 hack in /etc/rc. The exit 2 never worked anyway since it did not unset the prior configuration, causing the diskless code to not operate properly. Do a major cleanup and revamping of the diskless code for RCNG. This will be backported to the non-RCNG scripts as well as -stable. With suggestions from: Mike Makonnen <mtm@identd.net> MFC after: 7 days
* Delay an optional amount of time after booting before starting amckusick2002-12-181-2/+13
| | | | | | | | | background fsck. The delay defaults to sixty seconds to allow large applications such as the X server to start before disk I/O bandwidth is monopolized by fsck. Submitted by: Brooks Davis <brooks@one-eyed-alien.net> Sponsored by: DARPA & NAI Labs.
* Bring in the settings from /etc/rc.devfs, which include the vga symlinkdougb2002-12-151-2/+3
| | | | | | | | | that's being replaced here. This is what /etc/rc does now. There is no NetBSD devfs, so there is no compatibility issue. Not objected to by: FreeBSD-rc@yahoogroups.com Approved by: re (murray)
* o Don't consider LOOPBACK devices as configured...imp2002-12-131-1/+2
|
* o redirect the grep to /dev/nullimp2002-12-121-0/+5
| | | | | | | o use ifn rather than interface in rc.network o merge into rc.d/network1 Approved by: (re blanket)
* Two fixes for devd:imp2002-11-301-1/+6
| | | | | 1) Move devd to the start of the head of the boot process rather than the end. 2) Disable devctl if devd is disabled.
* Update rc scripts to load mac_lomac instead of lomac.rwatson2002-11-261-1/+1
| | | | | | Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Add devd to the mix. It should run basically last at this point.imp2002-11-092-1/+18
| | | | # I've tested this, but only lightly, so please email me with problems.
* Force rpcbind to start even if it wasn't enabled. This solves the ypbindfenner2002-11-041-0/+10
| | | | | | problems people were having at startup. Approved by: re
* Add IPv6 setup for ipfilter. `ipv6_ipfilter_rules' was addedume2002-11-021-6/+21
| | | | | | | | | to specify rules definition file for ipfilter. The default is /etc/ipf6.rules. If there is a file which is specified by 'ipv6_ipfilter_rules', IPv6 rule is installed. Reviewed by: Ronald van der Pol <Ronald.vanderPol@rvdp.org> MFC after: 1 week
* Wrap test case in an if statement to avoid crunching a return value.gordon2002-10-311-1/+3
|
* Fix "err" usage.fenner2002-10-261-2/+1
| | | | | PR: 44284 Submitted by: Sergey Mokryshev <mokr@mokr.net>
* Fix two typos. Using "-eq" instead of "=" in a [ caused an error whenfenner2002-10-251-2/+2
| | | | | | | | an entry in /etc/sysctl.conf didn't exist. Fixing this exposed a minor typo "exits" vs. "exist". However, there doesn't appear to be any provision to run this with the "lastload" argument, meaning that the error will never appear.
* Fix silly typo: loacal --> local.sobomax2002-10-171-1/+1
|
* s/dependancy/dependency/schweikh2002-10-124-5/+5
|
* Fix style bugs:schweikh2002-10-1250-204/+203
| | | | | | | | | | * Space -> tabs conversion. * Removed blanks before semicolon in "if ... ; then". * Proper indentation of misindented lines. * Put a full stop after some comments. * Removed whitespace at end of line. Approved by: silence from gordon
* Aesthetics: Output a prefix before sourcing rc.local as the old rcdd2002-10-121-0/+4
| | | | | | script did. Stuff in rc.local frequently has lines like "echo -n ' service_name'" which look ugly without a prefix and a trailing period. Likewise for rc.shutdown.local for consistency.
* In a diskless setup, rc.d/initdiskless may overwrite parts of /etc ondd2002-10-021-0/+2
| | | | | | | | | | | | a per-machine or per-cluster (with different ways of expressing what's part of a cluster) basis. In order for this to be effective, rc.conf has to be reread after initdiskless is finished. Implement this by adding a hook to etc/rc which rereads rc.conf by request. This can also be implemented by renaming initdiskless to initdiskless.sh and sourcing rc.conf there manually, but it was decided that, that would be uglier than a hook in etc/rc. Developed in concert with: gordon
* test -h is deprecated; use -L instead.ru2002-10-016-6/+6
| | | | PR: bin/40846
* - Recognize 'idt' interfaces.mdodd2002-09-301-1/+4
| | | | - The start command is 'atm_start' not 'start_cmd'.
* Fix moused so you can use the stop commandgordon2002-09-271-3/+1
| | | | Reported by: wa1ter@myrealbox.com
* Use mdmfs(8) rather than rolling our own RAM-disks.phk2002-09-225-20/+5
| | | | Sponsored by: DARPA & NAI Labs.
* up gif during setup.ume2002-09-201-0/+1
|
* Fix implementation of rc variables $amd_flags and $amd_map_program inrse2002-09-181-2/+2
| | | | | | | rcNG. The $amd_flags variable was already taken over into $rc_flags by run_rc_command() when amd_precmd() is executed, so changing $amd_flags there no longer effects the actual execution of amd. Hence in amd_precmd() the $rc_flags have to be adjusted instead.
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-171-12/+8
| | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
* Fix sendmail to use checkyesno since rc.conf is no longer re'sourced from thegordon2002-09-121-6/+2
| | | | debug statement.
OpenPOWER on IntegriCloud