summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Cosmetic cleanup to a message.jhb2002-09-111-1/+1
|
* Fix syscons so it actually does start.gordon2002-09-091-1/+3
| | | | | Reported by: keramida, ume Submitted by: keramida
* Convert from `${CMD_OSTYPE}` to ${OSTYPE}. This saves a shell invocation ongordon2002-09-0641-59/+59
| | | | OS-dependent case switches.
* rev 1.6 claimed to add 'bootparams', but in fact added 'bootparamd' whichpeter2002-09-061-1/+1
| | | | does not exist.
* Only try to initialize syscons if /dev/ttyv0 exists and it's not a pcvt.fenner2002-09-051-140/+156
|
* Only try to run /usr/sbin/ispcvt if it exists and is executable.fenner2002-09-051-1/+9
|
* Add an archdep script and hook it up to the build.gordon2002-09-052-11/+93
| | | | Submitted by: Mike Makonnen <makonnen@pacbell.net>
* Hook bootparams up to the worldgordon2002-09-051-11/+11
|
* Introduce bootparamd into the boot scripts. Add a bootparamd_enable andgordon2002-09-051-2/+11
| | | | | | _flags to rc.conf Submitted by: John Hay <jhay@zibbi.icomtek.csir.co.za>
* nfsd doesn't die on SIGTERM but on SIGUSR1, correct script to kill nfsd withgordon2002-09-031-0/+1
| | | | the right signal.
* We don't use single_mountd_enable anymore. It's just mountd_enable. I mustgordon2002-09-021-1/+1
| | | | have missed this in my earlier sweep.
* Only install the scripts that actually used on FreeBSD.gordon2002-09-021-15/+12
|
* Commit a revised sendmail script that works the same way as rc.sendmail.gordon2002-09-021-30/+43
| | | | This should also quell warnings when sendmail_enable="NONE"
* integrate pcvt configuration into the new /etc/rc.d startup systemhm2002-08-302-1/+227
| | | | | PR: i386/7100 Reviewed by: Gordon Tetlow <gordon@FreeBSD.org>
* Print out a carriage return to make the screen output make more sensegordon2002-08-201-1/+1
| | | | Submitted by: mike@
* Clean up the scripts to use the new variables:gordon2002-08-1411-45/+94
| | | | | | | | | | | | | | | | xntpd_* -> ntpd_* portmap_* -> rpcbind_* Also change single_mountd_enable -> mountd_enable Changing the mountd flags brings us closer to NetBSD. All of the old variable names are shimmed so you can continue to use the old variable name. Finally make /etc/rc.d/mountd no longer dependent on nfs as there are (apparently) other consumers of mountd. Submitted by: Mike Makonnen <makonnen@pacbell.net>
* Fix typos (s/seperat/separat/ et al); add FreeBSD ID.schweikh2002-08-121-5/+5
| | | | | Suggested by: bde MFC after: 3 days
* Make the othermta script DTRT when an mta startup script is not specified.gordon2002-08-091-1/+4
| | | | Submitted by: Mike Makonnen <makonnen@pacbell.net>
* Correct commentgordon2002-08-091-1/+1
| | | | Submitted by: Mike Makonnen <makonnen@pacbell.net>
* FreeBSD has setkey in different location from NetBSD.ume2002-07-311-6/+15
| | | | Submitted by: Mike Makonnen <makonnen@pacbell.net>
* Stock -current has more than 300 files in /etc, so 255 inodes for thedd2002-07-281-1/+1
| | | | | | | | | /etc filesystem isn't enough; consequently, add "-i 4096" to the newfs command for /etc. This results in 1022 inodes, which should be enough for the forseeable future (although I don't know why we would ever have more than 1000 files in a default /etc). Silence by: -current
* Add a period to the end of the "starting" message to be consistentdd2002-07-281-1/+1
| | | | with the rest of the output during a boot.
OpenPOWER on IntegriCloud