| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
reference is not enough.
|
|
|
|
|
|
| |
of providing a template manually.
Submitted by: Lars Eggert <larse@isi.edu>
|
|
|
|
|
|
|
| |
be mounted relative to the NFS root mountpoint.
Reviewed by: dillon at backplane.com
MFC After: 3 days
|
|
|
|
|
|
| |
PR: 25527
Submitted by: Alexey Neyman <alex.neyman@auriga.ru>
Reviewed by: jdp
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
network interfaces could only be turned on and off as a group (all
static interfaces or all dhcp interfaces).
When used to start the interface a 'long form' ifconfig output is
used to show the status of the interface, but when stopping an interface
the script will simply output the name of the interface. This is simply my
personal preference. Hopefully as this functionality matures we can
stabilize on a prefered form of output for these scripts.
A stop command to the dhclient script now explicitly releases the dhcp lease.
Behaviour at system shutdown; however, is unchanged since dhclient is not,
by default, run at that time. The client will not release its lease
at shutdown.
|
|
|
|
|
|
|
| |
o Ensure rc.d/network2 and rc.d/network3 are not automatically run
during boot
o Modify script headers so rcorder(8) can put the two scripts in the
correct sequence.
|
|
|
|
|
|
|
|
| |
o Change the provider names.
o Separate routing into two parts: static routing and routing options. The
start command will run both parts, but they can be run separately using
the static and options command, respectively:
(/etc/rc.d/routing static; /etc/rc.d/routing options)
|
|
|
|
|
|
|
|
|
| |
This commit has two pieces. One half is the watchdog kernel code which lives
primarily in hardclock() in sys/kern/kern_clock.c. The other half is a userland
daemon which, when run, will keep the watchdog from firing while the userland
is intact and functioning.
Approved by: jeff (mentor)
|
| |
|
|
|
|
|
|
| |
(or rc.conf) at boot time, and detach them when shutting down. Not
added to the Makefile to give the rcng gurus an opportunity to improve
it.
|
| |
|
|
|
|
|
|
| |
o Modify rc.d/apmd to make correct use of this information.
Submitted by: Simon L. Nielsen <simon@nitro.dk> (with minor modifications)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
take advantage of the rc.subr(8) glue. They are renamed dhclient_program
and dhclient_flags.
o Rename them in rc.conf(5)
o Rename them in /etc/defaults/rc.conf
o Add the deprecated variables to /etc/rc.subr
o Isolate the use of the 'command' variable to the
NetBSD specific parts in /etc/rc.d/dhclient.
o Now that dhcp_flags has also been renamed it will
be applied properly by rc.subr(8) glue code.
Reported by: John Nielsen <john@jnielsen.net>
|
|
|
|
|
|
|
| |
really make much difference since this script is not used during startup
and is due to be removed before RELENG_5.
Submitted by: "Simon L. Nielsen" <simon@nitro.dk>
|
|
|
|
|
|
| |
Also add logic into mountcritremote to add extra_netfs_types to the list.
This unbreaks putting smbfs, portalfs and now nwfs in fstab.
|
| |
|
|
|
|
|
|
|
|
|
| |
with the rest of the options following it. This caused problems for
people using ldconfig_insecure=yes because the '-i' switch was being
positioned before the format argument.
Approved by: markm/mentor (implicit), re/rwatson
PR: 47430
|
|
|
|
| |
Approved by: markm/mentor, re/rwatson
|
|
|
|
|
| |
Reviewed by: mtm and dougb
Approved by: re (scott)
|
|
|
|
| |
Approved by: markm (mentor)
|
|
|
|
|
|
|
|
| |
script to read /etc/devfs.conf, and take appropriate actions based on
what it finds there.
The (commented out) examples in the new devfs.conf file are taken in
part from the old rc.devfs script.
|
|
|
|
| |
ready for any ibcs2_compat bits yet.
|
| |
|
|
|
|
|
| |
Approved by: markm (mentor)(implicit)
Reviewed by: dougb
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sessions if the mailer is dynamically linked. This happens because
on some systems the ldconfig script is run after the vi recovery
script.
I thought I had already fixed this with revision 1.5 of rc.d/ldconfig,
but apparently not. So, in addition I'm making ldconfig a requirement
of this script.
Approved by: markm (mentor)(implicit)
PR: bin/51767
|
|
|
|
| |
the example host to modem speed).
|
|
|
|
| |
`sysctl -n kern.drainwait` instead of to the boot-time default of 300.
|
|
|
|
|
|
|
| |
Make sure they're ported over to rc.d.
While I'm at it correct a logic mistake in rc.d/apmd.
Approved by: markm (mentor)(implicit)
|
|
|
|
|
|
|
|
| |
We can't remove the sourcing of /etc/rc.devfs yet in case the user
might have custom entries in it. We will have to come up with an
/etc/devfs.rules or something to make this kind of thing easier.
Approved by: markm (mentor)(implicit)
|
| |
|
|
|
|
|
|
|
|
|
| |
script at which a filesystem will be mounted in FreeBSD. Without this
the script was being inserted later in the boot than necessary.
Approved by: markm (mentor) (implicit)
Reviewed by: dougb
Noticed by: Andrzej ToboÅa <san@wilk.2a.pl>
|
|
|
|
|
|
|
| |
o Make 'No ipnat rules' a warning
o Remove unecessary ' ..'
Approved by: markm (implicit)
|
|
|
|
|
|
|
|
|
| |
it doesn't work because the start_cmd doesn't enable ipfilter if
it is currently disabled.
Approved by: markm (mentor) (implicit)
Submitted by: Michael Lyngbøl <lyngbol@bifrost.lyngbol.dk>
PR: conf/46103
|
| |
|
|
|
|
|
|
| |
files when uptdate_motd and clear_tmp_enable are both NO.
Submitted by: Alex Deiter <tiamat@komi.mts.ru>
|
|
|
|
| |
Approved by: re@ (scottl)
|
|
|
|
|
|
|
| |
anyways.
Approved by: markm (mentor) (implicit)
Submitted by: leafy <leafy@leafy.idv.tw>
|
|
|
|
|
|
|
|
| |
o Re-run through /etc/sysctl.conf a second time just before we set
the securelevel.
Approved by: markm (mentor) (implicit)
Reviewed by: dougb
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o group them together so they run one right after another
o use the NetBSD supplied ipfs script instead of tacking
it on to the end of ipnat
o Load the ipl module in ipnat and ipfilter, if it's not already
loaded
o In ipmon and ipnat show a warning if neither ipfilter nor
ipnat is enabled or the ipl module is not loaded, and exit
Approved by: markm (mentor) (implicit)
Tested by: leafy <leafy@leafy.idv.tw>
|
|
|
|
|
| |
PR: 51174
Submitted by: Alex Popa <razor@ldc.ro>
|
|
|
|
|
|
|
|
| |
This is how it has always been done (before and after rc.d) but
I somehow failed to include it when I broke up network1.
Submitted by: bmah
Approved by: markm (mentor)(implicit)
|
|
|
|
|
| |
Submitted by: Shizuka Kudo <shizukakudo_99@yahoo.com>
Approved by: markm (mentor) (implicit)
|
|
|
|
| |
mergemaster if it does not appear in the list of files to install.
|
|
|
|
|
|
| |
o Make sure all the scripts reference rc.d/netif and not rc.d/network1
Approved by: markm (mentor)
|
|
|
|
|
|
| |
interfaces.
Approved by: markm (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o /etc/network.subr contains common subroutines used for seting
up network interfaces
o rc.d/hostname sets the hostname if not already set
o rc.d/nisdomain sets the nis domain *after* rpcbind but
before the yp* daemons. This fixes issues with temporary
hangs when looking up informaion in nis before it's ready.
o rc.d/netif brings network interfaces (minus dhcp) up.
o rc.d/network1 has been disabled and will be retired before
RELENG_5. It will be replaced by rc.d/netif
Approved by: markm (mentor)
|
|
|
|
| |
Noticed by: gshapiro
|
|
|
|
|
|
|
|
| |
o Hook it up to the build
Approved by: markm (mentor)
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org> (modified)
Prodded by: mike
|
|
|
|
|
|
|
|
|
|
|
|
| |
stop ipfw, but not enable it again.
Aesthetic changes
o Use positve logic (instead of negative)
o create a 'stop' function, rather than putting the
commands in the stop_cmd variable.
Submitted by: des
Approved by: markm (mentor) (implicit)
|