| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Suggested by: joerg & peter
|
|
|
|
|
|
|
|
|
|
|
| |
wondering what the hw-config of a machine is, and the logs have been
rotated many times since reboot already.
Added:
/sbin/dmesg > /var/tmp/dmesg.boot
to /etc/rc
2.2 candidate
|
|
|
|
|
|
| |
Closes PR # conf/1957: not all perms of ptys...
Submitted by: gurney_j@efn.org (John-Mark Gurney)
|
| |
|
|
|
|
| |
add warning and commented out line for rpc.lockd
|
|
|
|
|
|
| |
it's a plain file.
Submitted by: brian@awfulhak.demon.co.uk (Brian Somers)
|
|
|
|
|
|
| |
This is a lot more robust and handles errors a lot better. It also cleans
up stray, hopeless, or unmodified files rather than leaving them there
forever.
|
|
|
|
|
|
|
|
|
| |
. crate the symlink for /dev/log if required, then
. remove the old socket (savecore might have already created it
accidentally), then
. start syslogd.
(Btw., our test(1) misses an option to test for a socket.)
|
|
|
|
|
| |
a couple of benign cases of 'yppasswdd' to 'rpc.yppasswdd.' (Like
rpc.yppasswdd, rpc.ypxfrd should only be run on NIS master servers.)
|
|
|
|
|
| |
the pid on stdout for /var/run/amd.pid. The example in sysconfig had
forgotten -p anyway...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- split the "starting network daemons" in half.
- The first half starts things necessary to get full name service up.
- The quota check etc moved from "before network" to after the name
services are running. quotacheck does a while(p=getpwent()) which
isn't real good without YP running...
- moved rwhod a little later to put it with the other network stuff.
- deferred inetd a tad so that it's after ldconfig and dev_mkdb,
otherwise you get logins before you're ready.
Unresolved: named is started before ypserv/ypbind still, but named does
a while(s = getservent()) and while (p=getprotoent()) to suck in the
entire database into memory. This means you cannot have a "+" in the
/etc/services or /etc/protocols files or you get a long hang at boot.
|
|
|
|
|
| |
This can happen when the user is upgrading from an older version and
his/her sysconfig file doesn't have swapfile defined to be NO in it.
|
|
|
|
| |
at compile time, but ldd will at runtime.
|
|
|
|
| |
swap as the system is coming up.
|
|
|
|
| |
Noticed-By: "William A. Gill" <bill@duchess.wagill.com>
|
| |
|
|
|
|
| |
Submitted by: Hiroharu Tamaru <tamaru@ap.t.u-tokyo.ac.jp>
|
|
|
|
| |
Closes misc/1346 which has bitten me more times than I care to remember.
|
|
|
|
| |
(commented out) for how to purge it regularly.
|
| |
|
| |
|
|
|
|
| |
gated's pid file, for one thing, and is just generally BAD.
|
|
|
|
|
|
| |
Call ccdconfig before swapon if /etc/ccd.conf exists.
Obtained from: NetBSD
|
| |
|
|
|
|
|
|
|
|
| |
Reviewed by: phk
Submitted by: Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp> & BSD Nomads
I re-wrote alot of this, but the ideas are based on the code from the
most recent pccard-snapshot.
|
| |
|
|
|
|
|
|
|
|
| |
While I'm at it, add a commented-out sample amd flags line to sysconfig
and drop a sample amd.map file in this directory for easy copying.
I know that this file's contents are highly site-variable, but the one I've
chosen for an example is also the one I've seen on 99.9% of the amd-using
sites I've visited. I think it's a fair default.
|
| |
|
|
|
|
| |
daemon (lpd) or not. Set to run it by default.
|
|
|
|
|
|
| |
/var/run/amd.pid and added the "-l /var/log/amd.log" option there too
added an entry for the "rotation" of /var/log/amd.log to newsyslog.conf
|
|
|
|
|
|
|
|
|
|
|
| |
directories to check in looking for port startup scripts. The specific gunge
for apache httpd, gated and pcnfsd in /etc/sysconfig and /etc/netstart is
gone now. Note that pcnfsd's troubles aren't necessarily over (and probably
why NetBSD brought it into their sources) - anyone adding pcnfsd will STILL
have to tweak /etc/sysconfig in order to set the new variable
`weak_mountd_authentication' to YES. The flags to mountd are directly affected
by pcnfsd's requirements for non-root mounts, unfortunately! :-(
Submitted by: paul & jkh
|
|
|
|
| |
itself on SIGHUP.
|
| |
|
| |
|
|
|
|
|
| |
not exist, touch it, or accounting is never started
(it must be pre-existen file).
|
| |
|
|
|
|
| |
Closes pr misc/556 and others.
|
|
|
|
|
|
|
|
|
|
| |
[ As suggested by Satoshi - rc.local.d was pretty redundant under /usr/local;
duh! :-)]
[ -f /etc/rc.local ] && sh /etc/rc.local
For backwards compatibilty with non-executable rc.local files. Sorry, Bruce!
Submitted by: asami & bde & jkh
|
| |
|
|
|
|
|
|
|
|
|
| |
in FreeBSD and should never have got in here.
Removed hard-coded /etc/rc.local.d hacks and implemented a more flexible
solution.
Added a local configuration area to sysconfig.
|
|
|
|
|
|
|
|
|
| |
don't like it, they don't have to use it. The check makes sure that
/etc/rc.local.d exists before attempting to do anything with it. Now
packages will be able to add their startups as /etc/rc.local.d/<pkgname>.sh
in order to get local startup behavior. Maybe we can stop adding
knobs to /etc/sysconfig for ports/packages now?
Submitted by: wollman & jkh
|
|
|
|
| |
and Apache httpd, so a user can be brought up to speed quickly.
|
|
|
|
|
|
| |
Add nis_ypsetflags sysconfig entry and appropriate code in rc to call
ypset if needed. Should probably automatically add `-ypsetme' to ypbind
flags if this is set.
|
| |
|
|
|
|
|
|
|
|
| |
have non-critical nfs volumes in /etc/fstab they should have option bg
on them. The behavior of the system is more tuneable this way, and
allows a slow mounting /usr over nfs to work.
Submitted by: bde
|
|
|
|
|
|
|
|
|
| |
when the single user shell was terminated. These changes disallow mounting
or R/W upgrading filesystems that are dirty unless "-f" (force) option
is used with mount. /etc/rc has been modified to abort the startup if
one or more non-nfs partitions fail to mount.
Reviewed by: Poul-Henning Kamp, Rod Grimes
|
|
|
|
| |
in /etc/sysconfig, per Luigi's suggestion.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Have netstart directly source sysconfig so that it stands on its own.
Do not source netstart in rc, run it with sh.
Rework the dangerous /etc/hostname.* so that it uses a variable with
a list of interfaces and a variable for each interface in that list.
The files /etc/hostname.* become obsolete with this change, the
information is now stored in /etc/sysconfig.
Source any /etc/start_if.${ifn} files so they can export things to
netstart (plans for future enhancements in this area.)
Obsolete /etc/defaultrouter, this is now down with $defaultrouter from
sysconfig.
|
|
|
|
| |
had turned tabs into spaces.
|