| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
if [ -z "${_rc_subr_loaded}" ]; then
_rc_subr_loaded="YES"
...
fi
in order to avoid re-interpreting rc.subr every time an rc.d
script is run. In my tests, this speeds up rc time by about
8-10%.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This class is used for detecting volume labels on file systems:
UFS, MSDOSFS (FAT12, FAT16, FAT32) and ISO9660.
It also provide native labelization (there is no need for file system).
g_label_ufs.c is based on geom_vol_ffs from Gordon Tetlow.
g_label_msdos.c and g_label_iso9660.c are probably hacks, I just found
where volume labels are stored and I use those offsets here,
but with this class it should be easy to do it as it should be done by
someone who know how.
Implementing volume labels detection for other file systems also should
be trivial.
New providers are created in those directories:
/dev/ufs/ (UFS1, UFS2)
/dev/msdosfs/ (FAT12, FAT16, FAT32)
/dev/iso9660/ (ISO9660)
/dev/label/ (native labels, configured with glabel(8))
Manual page cleanups and some comments inside were submitted by
Simon L. Nielsen, who was, as always, very helpful. Thanks!
|
| |
|
|
|
|
| |
Reviewed by: dfr,njr (not nate!)
|
|
|
|
|
|
|
|
| |
Most notably, this cleans up messages when shutting down from
single user. In such a case there are usually no daemons running,
but their pid files are still in /var/run. This causes rc.d to
output diagnostics about daemons with pidfiles, but that are
not running.
|
|
|
|
| |
Submitted by: kuriyama
|
|
|
|
|
| |
Found-by: brueffer
Pointy-hat-to: mlaier
|
|
|
|
| |
startup. Moreover, this is the "more logic" order.
|
|
|
|
|
|
|
|
| |
again. This user/group is not required for install* targets, hence do not
add them to CHECK_UIDS/CHECK_GIDS in Makefile.inc1 (no need to annoy
people).
Discussed-on: -current
|
|
|
|
|
|
|
| |
a note to UPDATING since users may have to manually remove an incorrect
nsswitch.conf.
Noticed by: simon
|
|
|
|
| |
directive.
|
|
|
|
|
|
|
|
|
|
|
|
| |
your (network) modules as well as any userland that might make sense of
sizeof(struct ifnet).
This does not change the queueing yet. These changes will follow in a
seperate commit. Same with the driver changes, which need case by case
evaluation.
__FreeBSD_version bump will follow.
Tested-by: (i386)LINT
|
|
|
|
|
| |
make TARGET_ARCH=arm world now works (but still with external patches for
the toolchain bits).
|
|
|
|
|
| |
This is one of the few RC scripts that doesn't use rc.subr, and thus
doesn't source rc.conf. :-(
|
| |
|
|
|
|
|
|
|
| |
SIGINT (Ctrl-c) kills the current script
SIGQUIT (Ctrl-\) kills /etc/rc (dropping you into single-user)
Prodded by: harti
|
|
|
|
| |
Submitted by: jens
|
| |
|
|
|
|
|
|
|
|
|
| |
I mistaked at 1.166.
Submitted by: SARUMARU Yoshihiko <mistral@imasy.or.jp>
Pointed out by: MORIYASU Hirano <m-hirano@konsei.co.jp>
FreeBSD-users-jp 79808
FreeBSD-users-jp 79816
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
ip6addrctl_enable is set to YES, address selection policy is installed
into kernel.
If there is /etc/ip6addrctl.conf, it is used for address selection
policy. Even if there is no /etc/ip6addrctl.conf, we install default
policy. In this case, if ipv6_enable is set to YES, we use address
selection policy described in RFC 3484 as default. Otherwise, we
install priority policy for IPv4 address.
The default of ip6addrctl_enable is NO for now. However, it may
better to enable it by default.
|
|
|
|
|
|
|
|
|
|
| |
/usr/local/www
[1] Semi-arbitrary cutoff, but I didn't want to add every locale directory
used by ports, because a lot are only used by one or two, and it's less
intrusive for these ports to just clean up after themselves.
MFC after: 2 days
|
|
|
|
|
| |
addition to offline. This can be overridden in /etc/rc.conf if it causes
trouble although this has been stable since 2003/12.
|
|
|
|
|
| |
Submitted-by: brueffer
Approved-by: bms(mentor)
|
| |
|
|
|
|
|
|
|
| |
The reason for doing this is that (at least some) 4.x binaries are very
unhappy if host.conf does not exist, and if we create host.conf but not
nsswitch.conf, nsswitch.conf will be created at the next reboot, so it
is better to create a correct nsswitch.conf right away.
|
|
|
|
| |
script called nsswitch.
|
|
|
|
|
|
| |
like as rc.firewall does.
MFC after: 1 week
|
|
|
|
| |
ru for noticing.
|
|
|
|
|
| |
Additionaly, it will exit the script so an return statements after
calling it are superflous.
|
|
|
|
|
|
| |
- Create needed directories.
Supported by: Wheel - Open Technologies - http://www.wheel.pl
|
|
|
|
|
|
|
| |
This is particularly convenient on a cluster of machines to prevent
having to rebuild the INDEX file on each.
Reviewed by: portmgr
|
|
|
|
|
| |
C2, ... Update power_profile to use the new format. Update the
man page to reflect this and give more info on Cx states.
|
|
|
|
| |
/usr/include/geom/(concat|gate)/.
|
|
|
|
|
| |
script exists. This allows pruning of rc.d scripts without getting
too many ugly boottime error message
|
|
|
|
|
|
|
|
|
| |
use the conf/* stuff for their firewall configuration.
Running ipfw before could seem to make sense in that it would allow
one to setup access to the NFS server on a "default-deny" kernel,
but it is pretty obvious to the casual observer that such a configuration
never makes it far enough to mount the NFS-root in the first place.
|
| |
|
|
|
|
|
| |
return empty. Add a dummy element to prevent the alternate action
of the shell builtin "set"
|
|
|
|
|
|
|
|
| |
debug.watchdog since it is not created by hardware watchdog(4) devices.
The watchdog(4) device is always compiled in the kernel, so removing the
check should not cause any problems.
Approved by: phk
|
|
|
|
|
| |
PR: 65826
Submitted by: Hye-Shik Chang
|
|
|
|
|
| |
PR: misc/50154
Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
|
|
|
|
|
|
| |
PR: misc/56715
Submitted by: grant@NetBSD.org
Reviewed by: darrenr
|
|
|
|
| |
Found by: Morten Rodal <morten@rodal.no>
|
|
|
|
| |
Reported by: bde
|
|
|
|
|
|
|
| |
entropy source to /entropy. We have to assume there is no rc.conf at
this stage of the boot process.
Reported by: njl
|
|
|
|
|
|
|
|
|
|
|
| |
initdiskless. The output of several commands and if available the
contents of /entropy are feed into /dev/random to kickstart the PRNG.
/etc/rc.d/initrandom is left alone to maintain the previous behavior as
much as possiable.
Further work in this area is probably needed.
Discussed with: markm
|
|
|
|
|
| |
/usr/share/snmp. This mirrors the use of /usr/local/share/snmp and
makes also more sense when non-bsnmp-specific MIBs go in.
|
|
|
|
| |
Suggested by: cperciva
|
| |
|
|
|
|
|
|
| |
Observe that Xircom CEM28 and CEM33 are known to work in Ethernet mode.
Reviewed by: imp (mentor)
|