summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* be able to configure to run an IPv6 routing daemon even onume2002-07-211-1/+0
| | | | | | an end node (sync with rc.network6 1.30). Approved by: gordon
* Remove spurious "echo '.'".dd2002-07-181-2/+0
|
* Apply same fix as Rev 1.19 of /etc/rc.diskless2: create sendmailbsd2002-07-184-0/+28
| | | | | | required directories if sendmail_enable is not set to "none". Suggested by: gordon
* Anonymize the "portmap" program to get better compatibility withdougb2002-07-181-0/+2
| | | | | | rpcbind in -current. Submitted by: Alexander Kabaev <ak03@gte.com>
* Make nisdomainname=NO DTRTdougb2002-07-181-2/+6
| | | | Submitted by: des, via Mike Makonnen <makonnen@pacbell.net>
* Cleanup some pollution from the NetBSD sync, and add gif setup.dougb2002-07-181-144/+29
| | | | Submitted by: Mike Makonnen <makonnen@pacbell.net>
* Fix a typo that caused dhclient not to work.gordon2002-07-181-2/+2
| | | | | Submitted by: Dennis Kristensen <snicki@snicki.dk> Reviewed by: Mike Makonnen <makonnen@pacbell.net>
* Merge in all the changes that Mike Makonnen has been maintaining for agordon2002-07-1821-5570/+711
| | | | | | | | while. This is only the script pieces, the glue for the build comes next. Submitted by: Mike Makonnen <makonnen@pacbell.net> Reviewed by: silence on -current and -hackers Prodded by: rwatson
OpenPOWER on IntegriCloud