summaryrefslogtreecommitdiffstats
path: root/etc/rc
Commit message (Collapse)AuthorAgeFilesLines
* Reviewed by: cvs-currentdillon1998-12-121-3/+31
| | | | | | Commit changes to rc and rc.local, removing the remaining minimal functionality of rc.local into rc and commenting it out of rc.local prior to the deletion of rc.local from the CVS tree.
* Should be sysctl -n. Yesterday wasn't one of my better days. Doh.jb1998-12-111-2/+2
| | | | Reported by: Ben Smithurst & Makoto Matsushita
* Add a test for hw.machine == i386 before trying to run ldconfig forjb1998-12-101-12/+15
| | | | legacy aout support.
* Hand me the pointy hat, and make it big.des1998-10-091-2/+2
|
* Remove all references to tickadj(8) from rc, rc.conf and rc.conf.5.des1998-10-081-6/+2
| | | | | | | | | | | | | | | Disable building tickadj(8) by removing util from SUBDIR in the xntpd Makefile. Note that the sources are still there and tickadj can still be built and installed by doing: # cd /usr/src/usr.sbin/xntpd/util # make all install There are enough references to tickadj in e.g. the xntpd documentation (not to mention the sysctl variables it uses etc.) that I don't feel up to implementing the final solution right now. Kinda-approved-by: phk
* Put guard shells around stuff started from $local_startup. If you typecracauer1998-09-301-2/+3
| | | | | SIGINT (C-c), you'll get control passed to the next script even if the current one blocks signals. The child is not killed, though.
* Spaces -> tabs, don't use touch before it's availablebrian1998-09-161-19/+19
| | | | Pointed out by: bde
* Fix up the boot-time ldconfig handling to deal with dual objectjdp1998-09-161-2/+16
| | | | | | | | | | | | | | | file formats. I have added a new rc.conf variable ${ldconfig_paths_aout} which is like ${ldconfig_paths}, but only for a.out shared libraries. On a "standard" ELF system, the ELF ldconfig path is taken from ${ldconfig_paths}, while the a.out ldconfig path is taken from ${ldconfig_paths_aout}. On a not-yet-converted a.out system, only the a.out ldconfig path is set, and it is taken from ${ldconfig_paths_aout}. If that variable is unset, /etc/rc defaults it to the value of ${ldconfig_paths}, on the assumption that the system's "/etc/rc.conf" file hasn't been updated.
* Make /dev/vga a softlink to /dev/ttyv0 under DEVFS using /etc/rc.devfssos1998-09-141-1/+4
| | | | | Remove the hack from syscons that added a /dev/vga node in DEVFS it broke root acces on ttyv0 because dev_mkdb screwed up.
* Disable kernel_secure_level unless explicitly set in rc.conf. Previously,jraynard1998-09-091-2/+2
| | | | | it was enabled unless explicitly unset, creating a pitfall for people like me who upgraded /etc/rc without upgrading /etc/rc.conf.
* Remove X11 lock files at boot time even if $clear_tmp_enable is not set.cracauer1998-09-071-4/+5
| | | | | PR: conf/7366 Submitted by: Thomas David Rivers rivers@dignus.com
* Explicitly pass the "-aout" option to ldconfig, until I've had ajdp1998-09-051-3/+3
| | | | | chance to work out a better scheme to handle the separate invocations necessary for a.out and ELF.
* Don't try to run ldconfig if it doesn't exist. Useful for elf platforms.gpalmer1998-08-241-9/+11
|
* Fix my blunder in my previous commit here.phk1998-08-201-3/+3
|
* Add "Mounting NFS file systems" progress indicatorphk1998-08-141-1/+3
| | | | | | PR: 7605 Reviewed by: phk Submitted by Nick Hibma <nick.hibma@jrc.it>:
* Don't blat /var/run and /var/spool/lock *after* network_pass1()brian1998-08-101-8/+23
| | | | | | | | | | | unless /var is nfs-mounted. This was removing ppps device lock (when ppp's started in /etc/start_if.tun0 in -ddial or -dedicated mode) and allowing other programs (such as mgetty) to confuse ppp by playing with the modem while ppp's using it. People that nfs-mount /var had better not start ppp in this way....
* make a bounds file for msgs(1) if there isn't one alreadynectar1998-07-281-1/+6
| | | | | PR: bin/3023 Reviewed by: jkh@FreeBSD.ORG
* Add rc.conf option to set kernel security level and modify "/etc/rc" tojkoshy1998-06-221-1/+9
| | | | | | | | | | | use this. Requested by: max, andreas Note: This change just provides a convenient way to exercise existing functionality. Whether `kern.securelevel' is effective in increasing system security is another issue, and one that has been well thrashed out in the lists.
* Cut through the discussions and settle the issue: Everything in /var/runphk1998-06-021-2/+2
| | | | | | | is blown away at boot. If sudo or other programs needs directories, they had better make them in /usr/local/etc/rc.d/mumble.sh PR: 4138 5619 6793
* ELF preparation step 2:sos1998-05-261-2/+2
| | | | | | | | | | | | | | Move a.out libraries to /usr/lib/aout to make space for ELF libs. Make rtld usr /usr/lib/aout as default library path. Make ldconfig reject /usr/lib as an a.out library path. Fix various Makefiles for LIBDIR!=/usr/lib breakage. This will after a make world & reboot give a system that no longer uses /usr/lib/*, infact one could remove all the old libraries there, they are not used anymore. We are getting close to an ELF make world, but I'll let this all settle for a week or two...
* Start syslogd before savecore, so savecore's messages will be loggedjoerg1998-01-081-10/+10
| | | | | | properly. Only users of 4 MB machines might not want it this way (to prevent accidentally clobbering the coredump), but they are somewhat in the minority these days.
* Add a ldconfig_paths variable that specifies the shared library pathssteve1997-12-271-4/+6
| | | | | | | to be given to ldconfig(8). PR: 5178 Submitted by: Evan Champion <evanc@synapse.net>
* Back out last commit re dmesg.bootdanny1997-12-091-5/+1
|
* Make rc record boottime dmesg to /var/log/dmesg.boot, so the datadanny1997-12-091-1/+5
| | | | is preserved after it scrolls out of the dmesg buffer.
* Resurrect a modified version of the /tmp clearing code from rev 1.119.steve1997-11-161-1/+22
| | | | | | | | Enable this by setting clear_tmp_enable in rc.conf to YES. Beware there can be serious side-effects of enabling this, so use at you own risk. PR: misc/4982, misc/5054
* Unspam rev 1.114 that got spammed when someone commited the rc.confjoerg1997-09-211-6/+3
| | | | | changes: drop `savecore_enable' now that our savecore obeyes the minfree file.
* Change the not-specified-default for inetd & cronbrian1997-09-131-3/+3
| | | | | | to "enabled". This will avoid breaking things for idiots like me who update /etc/rc without paying attention and updating rc.conf too.
* Don't redirect "mount -t -o nfs" to nullbrian1997-09-131-2/+2
|
* Ooops. Wrong branch, back out previous commit.joerg1997-08-171-1/+0
|
* MFC: rev 1.125, remove old PID files at startupjoerg1997-08-171-1/+2
|
* Back out ld.so.conf change until the question is resolved.jkh1997-07-131-13/+7
|
* Use /etc/ld.so.conf as a library path override, if it exists.jkh1997-07-111-7/+13
| | | | Submitted by: Hans Zuidam <hans@brandinnovators.com>
* Execute rc.local in a subshell instead of sourcing it.pst1997-06-251-2/+2
| | | | Requested by: dima
* sh /etc/rc.local -> . /etc/rc.localdima1997-06-251-2/+2
|
* Add cron_enable and inetd_enable flags to rc.conf.pst1997-06-181-3/+8
| | | | | WARNING: don't update rc and forget to update rc.conf, or you won't be able to telnet back into your box after a reboot.
* Remove /var/run/* now instead of *.pidache1997-06-041-3/+3
|
* Restore /var/run/*.pid cleaning, gated already moved off the wayache1997-06-041-0/+1
| | | | and innd store its .pid inside its own directories
* Back out /var/run/*.pid cleaning since some programms (like innd)ache1997-06-021-2/+1
| | | | use .pid to detect crash
* Add rm -f /var/run/*.pid to prevent random process killing due toache1997-06-011-1/+2
| | | | picking old .pid file
* Neaten up some things which were inconsistent, add a few more flagsjkh1997-05-191-2/+2
| | | | | to things which need them, general cleanup. Submitted by: Brian Somers <brian@awfulhak.org>
* Use full path to sendmail for security reasons.jkh1997-05-071-2/+2
| | | | Submitted by: Ollivier Robert <roberto@keltia.freenix.fr>
* Add inetd_flags and way of passing ipfw a configuration filejkh1997-05-051-2/+2
| | | | | | | | | (if firewall = "somefilename"). Fix typo fixes and URLs which were accidently nuked out of this file (submitted by: soil@quick.net via PR#3501). Submitted by: "Danny J. Zerkel" <dzerkel@phofarm.com>
* re-enabled: . /etc/rc.${arch}andreas1997-05-041-4/+4
| | | | | | | PR: Reviewed by: bruce Submitted by: Obtained from:
* Fixed sourcing of /etc/etc.${arch}/rc.${arch} on startup.andreas1997-05-041-4/+4
| | | | | | | PR: Reviewed by: Submitted by: Obtained from:
* Update the etc world from RELENG_2_2 which is now more up-to-datejkh1997-05-031-32/+6
| | | | | | (gotta get myself -current again, this is a drag). Also-fixes-problems-noted-by: Wolfgang Helbig & Joerg Wunsch
* Clean up the output a bit.jkh1997-05-011-6/+10
|
* Bring in rc file changes from -current.jkh1997-04-271-134/+36
|
* Make a sysconfig variable controlling if teh kernel should acceptguido1997-04-091-1/+4
| | | | | | | nfs requests from non-privileged ports. Change mountd such that it does never set this variable, but only clears it when run with -n. Also document this in the man page.
* Add portmapflags and syslogd flags.pst1997-04-011-11/+17
| | | | Reviewed by: jkh
* Having two knobs until you get a kernel core dump saved is silly.joerg1997-03-161-2/+2
| | | | | | | | | | Leave dumpdev, but kill the savecore variable. Thus, it's still off by default, but all you need is enabling dumpdev now. phk's old argument that savecore might inadvertendly fill up the disk no longer counts, savecore now correctly obeyes a `minfree' file, and we ship our systems with such a file that even has a reasonable default.
OpenPOWER on IntegriCloud