summaryrefslogtreecommitdiffstats
path: root/etc/rc
Commit message (Collapse)AuthorAgeFilesLines
* Move reading of rc.conf sooner as requested by Greg. I'm a tad nervouspeter1999-01-261-9/+8
| | | | | | about this becase that makes it get run *before* the filesystems are mounted. If people have added stuff to their rc.conf or rc.conf.local that uses stuff outside of /bin and /sbin, this will break.
* The vinum setup tool automatically loads the vinum module if it's needed,peter1999-01-261-7/+2
| | | | | | there is no need to duplicate the logic here. XXX rc.conf needs to be read sooner..
* Finish up /etc/rc adjustments to handle diskless read-only-root booting.dillon1999-01-251-21/+42
| | | | This will be followed up by rc.diskless and documentation.
* Introduce rc script for BOOTP 'diskless' boot. Well, not quite disklessdillon1999-01-251-1/+12
| | | | | | | | | since the kernel must be booted from something ( like a floppy ). This script must occur near the beginning of the rc file in order to support read-only NFS mounts, which in turn allows all the BOOTP machines to use the same / and /usr. The companion rc.diskless script is forthcoming.
* nuke dset from here.jkh1999-01-201-4/+3
| | | | Reminded by: peter
* Only start vinum if vinum_slices variable is non-emptygrog1999-01-181-2/+2
| | | | Reported-by: roberto
* Add hooks for starting vinum at boot time. Set the variablegrog1999-01-171-1/+10
| | | | | | | | vinum_slices to the names of all slices (block device) which are under the control of vinum. The configuration will be read in from each in turn, starting with the most recently updated. Reviewed-by: jkh
* Move nologin from /etc to /var/run. This means one less file that hasasami1999-01-111-3/+1
| | | | | | | | | to be written to /etc. The only essential change is in paths.h, so any third-party software written correctly will pick it up in the next rebuild. Reviewed by: the committers list (actually an old version)
* Added starting of usbdn_hibma1999-01-101-1/+5
|
* We load kld's in preference to LKM's, these do not need the root fs to bepeter1999-01-061-3/+2
| | | | read/write to load.
* 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>
OpenPOWER on IntegriCloud