summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* Allow a jail to be started with a specific route fib.thompsa2008-09-161-1/+8
| | | | | Reviewed by: secteam (simon) Reviewed by: brooks, bz
* Add the ability to run /usr/sbin/crashinfo on a new core dump automaticallyjhb2008-08-291-0/+3
| | | | | | | during boot. Right now this is disabled by default, but it can be enabled by setting 'crashinfo_enable=YES' in rc.conf. MFC after: 2 weeks
* Make obrien happydes2008-08-252-29/+1
|
* Cope with the file rename by changing rc variables.rpaulo2008-08-211-4/+4
|
* Rename the RCng 'kernel' script to 'kernel_symlink'.obrien2008-08-201-1/+1
|
* Rename the RCng 'kernel' script to 'kernel_symlink'.obrien2008-08-191-0/+0
| | | | Requested by: many
* Only symlink booted kernel directory to /boot/kernel if user has explicitlyobrien2008-08-091-0/+1
| | | | requested it. This is too dangerous to just do behind the admin's back.
* When using SRV records the protocols and services files need to be in thedougb2008-08-011-5/+9
| | | | | | | chroot /etc directory. PR: conf/121101 Submitted by: Stefan `Sec` Zehl <sec@42.org>
* Oops, restore the recent changes to make startup messages quieter.jhb2008-07-311-1/+3
|
* Parse sysctl settings from /etc/sysctl.conf.local after /etc/sysctl.confjhb2008-07-311-10/+15
| | | | | | | | if it exists. This mirrors similar behavior for /boot/loader.conf and /etc/rc.conf. Obtained from: Yahoo! MFC after: 1 week
* With uart(4) default, change /dev/cuad# to /dev/cuau# andmarcel2008-07-191-6/+6
| | | | sio# to uart# so that out-of-the-box FreeBSD is consistent.
* With uart(4) default, change /dev/cuad# to /dev/cuau# andmarcel2008-07-191-7/+7
| | | | sio# to uart# so that out-of-the-box FreeBSD is consistent.
* Add the shutdown KEYWORD to those scripts that start persistent servicesdougb2008-07-1634-19/+34
| | | | | | | | | | | to allow them to do a "clean" shutdown. I purposely avoided making changes to network-related stuff since the system shutting down is pretty conclusive, and there may be complicated dependencies on the network that I would rather not try to unravel. I also skipped kerberos-related stuff for the reasons above, and because I have no way to test it.
* As previously discussed, add the svn:executable property to all scriptsdougb2008-07-1692-0/+0
|
* The pfctl(8) program is already pretty verbose, so don't print extramtm2008-07-111-2/+2
| | | | information in quiet mode.
* Remove the $DUMPDIR variable. It's redundant and the rest of themtm2008-07-061-6/+1
| | | | script uses $dumpdir directly.
* Make checking for the availability of core dumps work in the casemtm2008-07-061-1/+12
| | | | | | that $dumpdev is not set to "AUTO". Reported by: Paul B. Mahol <onemda@gmail.com>
* No need to display the result of enabling the ipfw sysctl if it'smtm2008-07-051-1/+3
| | | | successfull. Issue a warning if it fails, however.
* There's no need to announce that we're mounting local filesystems whenmtm2008-07-051-2/+2
| | | | | running in quiet mode since if we fail to mount any of them the boot process gets interrupted.
* Quiet down rc.d/nfsclient by not printing anything in 'quiet' mode. Insteadmtm2008-07-051-3/+7
| | | | issue a warning of it fails to set the sysctls.
* Backout r179941. The nfsclient knob always confuses me. I should havemtm2008-06-272-4/+4
| | | | | | | double-checked my setup before commiting. Noticed by: Florian Smeets Pointy hat to: mtm
* Quiet rc.d/syscons unless it has something to say.mtm2008-06-241-6/+35
|
* Add a -q flag to swapon(8) to suppress informational messages. Use it inmtm2008-06-231-1/+1
| | | | | rc.d. Note: errors are not affected by this flag.
* The sysctl(8) program exits on some errors and only emits warnings onmtm2008-06-233-3/+12
| | | | | | | | | others. In the case where it displayed warnings it would still return succesfully. Modify it so that it returns the number of sysctls that it was not able to set. Make use of this in rc.d to display only *unsuccessfull* attempts to set sysctls.
* Run savecore(8) only if there is a core dump to save. If there ismtm2008-06-231-2/+5
| | | | no core dump hide the message to that effect behind $rc_quiet.
* Implement a "quiet" mode for rc.d/netif, which only outputsmtm2008-06-231-5/+21
| | | | | | | | | the interface name of interfaces that were configured. This change has the added benefit that ifn_start() and ifn_stop() in network.subr no longer write to standard output. Whether to output and what to output is now handled entirely in rc.d/netif.
* Set the sysctl(8) value in the same shell, not a subshell. This wasmtm2008-06-231-2/+2
| | | | | causing calls to netoptions_init() to not properly set a global variable, which ended up being in the parent shell.
* Move a lot of diagnostic output behind $rc_quiet in scripts thatmtm2008-06-239-17/+19
| | | | implement their own start command.
* Align the script more with rc.d/cleanvar (which doesn't output anymtm2008-06-231-2/+2
| | | | diagnostics). Instead, move output behind $rc_quiet.
* Remove the -v flag from the command line to dumpon(8), and instead printmtm2008-06-231-1/+2
| | | | diagnostic ouput only if the command fails.
* Argh! s/nfs_client_enable/nfsclient_enable/gmtm2008-06-232-4/+4
|
* Do not print anything unless one of the net/routing options is set.mtm2008-06-232-4/+35
|
* s/daemon processes/local packages/ for consisitency.mtm2008-06-231-1/+1
|
* Output information only if /etc/rc.local exists.mtm2008-06-221-4/+4
|
* Do not print anything unless at least one of the abi emulators ismtm2008-06-221-2/+8
| | | | enabled.
* Simplify this script with the added bonus that the bit about i386mtm2008-06-221-22/+17
| | | | initialization doesn't get printed unless ibcs2_enable is set.
* Don't say we're going to mount filesystems of a certain type unlessmtm2008-06-222-8/+25
| | | | there actually are filesystems of that type to mount.
* Don't say we're going to [start|stop] local packages unless there actuallymtm2008-06-221-4/+16
| | | | are local (pre rc.d) scripts to run.
* Make quota knob conform to other rc(8) knobs. Keep older knob formtm2008-06-191-1/+1
| | | | | | compatibility. Requested by: Volker <volker@vwsoft.com>
* Fix the wait for default route change I made a few weeks ago by creatingbrooks2008-06-054-28/+51
| | | | | | | a new defaultroute script that just does the wait. The previous attempt created a circular dependency through network_ipv6. Pointy hat to: brooks
* Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE andbz2008-05-264-59/+3
| | | | | | | | | | | | | | | | | | parts relied on the now removed NET_NEEDS_GIANT. Most of I4B has been disconnected from the build since July 2007 in HEAD/RELENG_7. This is what was removed: - configuration in /etc/isdn - examples - man pages - kernel configuration - sys/i4b (drivers, layers, include files) - user space tools - i4b support from ppp - further documentation Discussed with: rwatson, re
* Move the wait for a default route to rc.d/routing. Once we test forbrooks2008-05-182-24/+27
| | | | | | | non-dhcp interfaces to negotiate/associate this will make more sense. This also correctly gets run after both devd and netif are run so it has a chance of working.
* Change the default value of synchronous_dhclient to NO.brooks2008-05-151-0/+23
| | | | | | | | | To preserve the existing behavior of etc/rc.d/netif, add code to wait up to if_up_delay seconds (30 seconds by default) for a default route to be configured if there are any dhcp interfaces. This should be extended to test that the interface is actually up. X-MFC after:
* Don't require a configuration file. Ntpd will be perfectly happy if there'sflz2008-05-121-2/+0
| | | | | | | | none or if the file doesn't exist (there's no ntp.conf in the base install). PR: conf/119592 Submitted by: Renaud Waldura <renaud+freebsd@waldura.org> MFC after: 1 week
* Specify the full path to the md5(1) binary so the script willmtm2008-05-061-1/+1
| | | | | | | still work even if it's not in the shell's path. PR: conf/122215 MFC after: 1 week
* Make it possible to disable sources of entropy harvesting.ru2008-04-221-9/+11
| | | | | Noticed by: Igor Sysoev MFC after: 3 days
* rc support for vapssam2008-04-203-69/+25
|
* Add very limited support for the isc-dhclient. It will almostly certaintlybrooks2008-04-151-0/+4
| | | | | | | | only work if there's just one interface doing dhcp. This version implements the same logic as the version in the PR, but uses pgrep to be less verbose. PR: conf/95905 MFC after: 1 week
* Declare _ppp_profile_cleaned, _punct, and _punct_c local inbrooks2008-04-101-0/+1
| | | | | | | ppp_start_profile(). Reported by: yar MFC after: 1 week
* Add rfcomm_pppd_server rc script to allow start rfcomm_pppd(8) in serveremax2008-04-082-1/+123
| | | | | | | | | mode at boot time. Multiple profiles can be started at the same time. The whole idea is very similar to the ppp rc script. Document Bluetooth knobs in rc.conf(5) MFC after: 1 week
OpenPOWER on IntegriCloud