summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
Commit message (Collapse)AuthorAgeFilesLines
...
* Apparently ldconfig(8) prefers the format as the first argumentmtm2003-05-181-3/+4
| | | | | | | | | with the rest of the options following it. This caused problems for people using ldconfig_insecure=yes because the '-i' switch was being positioned before the format argument. Approved by: markm/mentor (implicit), re/rwatson PR: 47430
* Install kpasswdd.mtm2003-05-181-1/+1
| | | | Approved by: markm/mentor, re/rwatson
* pccard_ether didn't setup IPv6 after rcTOS sweep.ume2003-05-121-291/+1
| | | | | Reviewed by: mtm and dougb Approved by: re (scott)
* s/kadmind5/kadmin/mtm2003-05-061-1/+1
| | | | Approved by: markm (mentor)
* Allow users to configure stuff in /dev once again by re-doing the devfsdougb2003-05-061-13/+26
| | | | | | | | script to read /etc/devfs.conf, and take appropriate actions based on what it finds there. The (commented out) examples in the new devfs.conf file are taken in part from the old rc.devfs script.
* Back out the amd64 additions. Hammer doesn't do APM, and we certainly aren'tobrien2003-05-062-2/+2
| | | | ready for any ibcs2_compat bits yet.
* We won't do APM on Hammer -- ACPI is the game there.obrien2003-05-051-1/+1
|
* Move securelevel further back in the boot order.mtm2003-05-058-2/+7
| | | | | Approved by: markm (mentor)(implicit) Reviewed by: dougb
* The vi(1) recovery script cannot send mail regarding interruptedmtm2003-05-051-1/+1
| | | | | | | | | | | | | sessions if the mailer is dynamically linked. This happens because on some systems the ldconfig script is run after the vi recovery script. I thought I had already fixed this with revision 1.5 of rc.d/ldconfig, but apparently not. So, in addition I'm making ldconfig a requirement of this script. Approved by: markm (mentor)(implicit) PR: bin/51767
* Catch up with 1995(?) for modem speeds (use 57600 instead of 115200 forbde2003-05-051-2/+2
| | | | the example host to modem speed).
* When resetting to defaults, reset drainwait to the current default pfbde2003-05-041-2/+3
| | | | `sysctl -n kern.drainwait` instead of to the boot-time default of 300.
* Huh? When did the etc bits for amd64 get added?mtm2003-05-023-5/+5
| | | | | | | Make sure they're ported over to rc.d. While I'm at it correct a logic mistake in rc.d/apmd. Approved by: markm (mentor)(implicit)
* Create a symbolic link /dev/vga -> /dev/ttyv0.mtm2003-05-021-0/+7
| | | | | | | | We can't remove the sourcing of /etc/rc.devfs yet in case the user might have custom entries in it. We will have to come up with an /etc/devfs.rules or something to make this kind of thing easier. Approved by: markm (mentor)(implicit)
* Make the defaults for Kerberos 5 a little more up-to-date.markm2003-04-301-0/+21
|
* This script should require mountcritremote, since that is the lastmtm2003-04-301-1/+1
| | | | | | | | | script at which a filesystem will be mounted in FreeBSD. Without this the script was being inserted later in the boot than necessary. Approved by: markm (mentor) (implicit) Reviewed by: dougb Noticed by: Andrzej ToboÅa <san@wilk.2a.pl>
* o Make the 'Ip-filter module loaded' messages informationalmtm2003-04-302-4/+4
| | | | | | | o Make 'No ipnat rules' a warning o Remove unecessary ' ..' Approved by: markm (implicit)
* Running the script with restart or manually stopping and startingmtm2003-04-301-2/+2
| | | | | | | | | it doesn't work because the start_cmd doesn't enable ipfilter if it is currently disabled. Approved by: markm (mentor) (implicit) Submitted by: Michael Lyngbøl <lyngbol@bifrost.lyngbol.dk> PR: conf/46103
* Add rc.subr (found during new /etc/netstart testing)jwd2003-04-291-0/+2
|
* Move the mktemp invocation inside motd_start to avoid creating tempdougb2003-04-291-2/+2
| | | | | | files when uptdate_motd and clear_tmp_enable are both NO. Submitted by: Alex Deiter <tiamat@komi.mts.ru>
* xten isn't needed after tw is gone.imp2003-04-271-11/+0
| | | | Approved by: re@ (scottl)
* Use $ipnat_program instead of the hardcoded path, which was wronmtm2003-04-241-1/+1
| | | | | | | anyways. Approved by: markm (mentor) (implicit) Submitted by: leafy <leafy@leafy.idv.tw>
* o Add support for running /etc/rc.earlymtm2003-04-242-0/+20
| | | | | | | | o Re-run through /etc/sysctl.conf a second time just before we set the securelevel. Approved by: markm (mentor) (implicit) Reviewed by: dougb
* Make ipfilter, ipnat, ipmon, and ipfs behave more like the old rc.mtm2003-04-247-65/+75
| | | | | | | | | | | | | o group them together so they run one right after another o use the NetBSD supplied ipfs script instead of tacking it on to the end of ipnat o Load the ipl module in ipnat and ipfilter, if it's not already loaded o In ipmon and ipnat show a warning if neither ipfilter nor ipnat is enabled or the ipl module is not loaded, and exit Approved by: markm (mentor) (implicit) Tested by: leafy <leafy@leafy.idv.tw>
* Set appropriate tag "fsck" to logger(1) for background fsck messages.matusita2003-04-231-1/+1
| | | | | PR: 51174 Submitted by: Alex Popa <razor@ldc.ro>
* Run interface specific scripts for dhcp interfaces too.mtm2003-04-201-0/+5
| | | | | | | | This is how it has always been done (before and after rc.d) but I somehow failed to include it when I broke up network1. Submitted by: bmah Approved by: markm (mentor)(implicit)
* Spell ${_jail} correctlymtm2003-04-191-1/+1
| | | | | Submitted by: Shizuka Kudo <shizukakudo_99@yahoo.com> Approved by: markm (mentor) (implicit)
* The changes to rc.d/network1 will not get merged in bymtm2003-04-191-1/+1
| | | | mergemaster if it does not appear in the list of files to install.
* o Hook the new files up to the build.mtm2003-04-1817-22/+22
| | | | | | o Make sure all the scripts reference rc.d/netif and not rc.d/network1 Approved by: markm (mentor)
* Make use of the dhclient script. This will bring up/down dhcpmtm2003-04-181-2/+32
| | | | | | interfaces. Approved by: markm (mentor)
* Break out and rewrite the network setup scripts.mtm2003-04-184-1/+260
| | | | | | | | | | | | | | o /etc/network.subr contains common subroutines used for seting up network interfaces o rc.d/hostname sets the hostname if not already set o rc.d/nisdomain sets the nis domain *after* rpcbind but before the yp* daemons. This fixes issues with temporary hangs when looking up informaion in nis before it's ready. o rc.d/netif brings network interfaces (minus dhcp) up. o rc.d/network1 has been disabled and will be retired before RELENG_5. It will be replaced by rc.d/netif Approved by: markm (mentor)
* Fix typo (and make it more explicit/self-documenting).mtm2003-04-161-1/+1
| | | | Noticed by: gshapiro
* o Add a script to start jails on boot.mtm2003-04-162-1/+69
| | | | | | | | o Hook it up to the build Approved by: markm (mentor) Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org> (modified) Prodded by: mike
* 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
OpenPOWER on IntegriCloud