summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* Be specific about which domainname is not set. It seems the man pagemtm2003-07-096-6/+6
| | | | reference is not enough.
* Have mktemp(1) construct the temporary file name for us insteadmtm2003-06-301-1/+1
| | | | | | of providing a template manually. Submitted by: Lars Eggert <larse@isi.edu>
* Allow diskless_remount files to contain path beginning with / which willbrooks2003-06-301-0/+18
| | | | | | | be mounted relative to the NFS root mountpoint. Reviewed by: dillon at backplane.com MFC After: 3 days
* Properly use ld.so.conf and ld-elf.so.conf as discussed in the manual page.trhodes2003-06-301-4/+4
| | | | | | PR: 25527 Submitted by: Alexey Neyman <alex.neyman@auriga.ru> Reviewed by: jdp
* Ugh. Remove debugging echo.mtm2003-06-291-1/+1
|
* Implement individual operations on static and dhcp interfaces. Previouslymtm2003-06-292-26/+158
| | | | | | | | | | | | | | | | network interfaces could only be turned on and off as a group (all static interfaces or all dhcp interfaces). When used to start the interface a 'long form' ifconfig output is used to show the status of the interface, but when stopping an interface the script will simply output the name of the interface. This is simply my personal preference. Hopefully as this functionality matures we can stabilize on a prefered form of output for these scripts. A stop command to the dhclient script now explicitly releases the dhcp lease. Behaviour at system shutdown; however, is unchanged since dhclient is not, by default, run at that time. The client will not release its lease at shutdown.
* o Hookup rc.d/routing and rc.d/netoptionsmtm2003-06-2910-11/+11
| | | | | | | o Ensure rc.d/network2 and rc.d/network3 are not automatically run during boot o Modify script headers so rcorder(8) can put the two scripts in the correct sequence.
* o Repocopied routing and netoptions from network2 and network3, respectively.mtm2003-06-292-7/+24
| | | | | | | | o Change the provider names. o Separate routing into two parts: static routing and routing options. The start command will run both parts, but they can be run separately using the static and options command, respectively: (/etc/rc.d/routing static; /etc/rc.d/routing options)
* - Add a software watchdog facility.smkelly2003-06-262-2/+53
| | | | | | | | | This commit has two pieces. One half is the watchdog kernel code which lives primarily in hardclock() in sys/kern/kern_clock.c. The other half is a userland daemon which, when run, will keep the watchdog from firing while the userland is intact and functioning. Approved by: jeff (mentor)
* Remove the devdb stuff, the kernel answers these questions just fine.phk2003-06-202-18/+1
|
* Add a script to automatically attach gbde devices found in fstabwollman2003-06-171-0/+92
| | | | | | (or rc.conf) at boot time, and detach them when shutting down. Not added to the Makefile to give the rcng gurus an opportunity to improve it.
* Fixed some style bugs (disorder and long lines).bde2003-06-111-4/+7
|
* o Have rc.d/apm report on the status of apm.mtm2003-06-092-3/+29
| | | | | | o Modify rc.d/apmd to make correct use of this information. Submitted by: Simon L. Nielsen <simon@nitro.dk> (with minor modifications)
* The dhcp_program and dhcp_flags variables have to be renamed tomtm2003-06-071-2/+2
| | | | | | | | | | | | | | take advantage of the rc.subr(8) glue. They are renamed dhclient_program and dhclient_flags. o Rename them in rc.conf(5) o Rename them in /etc/defaults/rc.conf o Add the deprecated variables to /etc/rc.subr o Isolate the use of the 'command' variable to the NetBSD specific parts in /etc/rc.d/dhclient. o Now that dhcp_flags has also been renamed it will be applied properly by rc.subr(8) glue code. Reported by: John Nielsen <john@jnielsen.net>
* Remove a debugging aid the crept in during the last commit. It doesn'tmtm2003-06-061-1/+1
| | | | | | | really make much difference since this script is not used during startup and is due to be removed before RELENG_5. Submitted by: "Simon L. Nielsen" <simon@nitro.dk>
* Move networkfs_types from mountcritlocal into defaults/rc.conf as netfs_types.gordon2003-06-012-4/+11
| | | | | | Also add logic into mountcritremote to add extra_netfs_types to the list. This unbreaks putting smbfs, portalfs and now nwfs in fstab.
* nwfs is network filesystem. Treat it as such when mounting filesystems.gordon2003-06-011-1/+1
|
* 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)
OpenPOWER on IntegriCloud