roy
6bdecd9c27
Add an rc.d script for dhcpcd(8)
2009-04-28 23:30:34 +00:00
apb
49e8137612
Do nothing if root file system has fs_passno=0 in /etc/fstab.
...
(It might be better to change fsck(8) so that "fsck -p" always checks
fs_passno, whether or not file systems are specified on the command
line.)
2009-04-28 13:08:51 +00:00
christos
923c91a5d0
handle new directory structure.
2009-04-25 15:46:19 +00:00
christos
61af394aa4
PR/41273: Martin Mersberger: missing '/' in /etc/rc.d/named in section
...
named_migrate
2009-04-24 14:26:02 +00:00
christos
ad38869bc4
Adjust for new default location of the pid file.
2009-04-22 18:27:03 +00:00
joerg
e7f29a3386
Split fsck during boot into two phases. Check the root file system
...
first, mount root and run the various disk providers. Add swap and
check the remaining file systems after that.
This breaks the dependency cycle for lvm, which needs writeable /dev.
Depend on rndctl in cgd.
2009-04-21 16:08:57 +00:00
joerg
49451a8f9f
Add a small script to visualize the rc dependency graph and point to it.
2009-04-15 22:36:04 +00:00
perry
bb9a479c59
un-uppercase pseudodependency for the moment so as not to break pkgsrc
2009-04-15 22:11:32 +00:00
perry
6b9d40b026
uppercase pseudodependency
2009-04-15 22:03:54 +00:00
joerg
c06d8659e3
Add missing PROVIDE.
2009-04-15 21:33:57 +00:00
haad
94d1f41faa
We need writable /dev to get lvm working otherwise lvm devices can't be created.
2009-04-13 18:48:14 +00:00
martin
58cbc21957
systime() is not needed here - as the man page clearly points out.
...
Noticed by pooka.
2009-04-08 13:29:59 +00:00
martin
d37420f7ca
Awk has strftime() and systime(), so no need to pipe the output of date
...
into the script - just do it internally.
2009-04-08 13:18:56 +00:00
hannken
a51a8b101a
Add flags to rc.d/ipfilter. Use it from rc.conf like
...
ipfilter=YES ipfilter_flags="-T fr_statemax=18963,fr_statesize=27091"
Ok: Christos Zoulas <christos@netbsd.org>
2009-03-23 18:52:02 +00:00
haad
75fa841288
When setting LV_LIST variable do not use $LV_LIST.
2009-03-05 10:35:43 +00:00
apb
1cdee1d2a2
The -d or -t flag must appear after -c/-C/-e/-E flags, because of the
...
way we add the device name. after the flags.
Addresses PR 40495 from Ryo HAYASAKA.
2009-02-02 09:24:47 +00:00
haad
94a80e6646
Rework lvm rc.d script. Check active flag for selected LV not for the first
...
one. Remove dmtest function.
Most changes are based on feedback from salo@.
2009-01-20 00:40:59 +00:00
haad
660aec81c7
Add lvm rc.d script to build.
2009-01-16 01:59:23 +00:00
haad
6fa32f841f
Add lvm rc script for starting LV's during boot. starting lvm is turn off
...
by default, until MKLVM is enabled by default. This script can be used
without /usr/bin.
2009-01-14 22:07:55 +00:00
lukem
006b668ed0
attempt to make the NOTE a bit more prominent
2009-01-08 02:07:28 +00:00
apb
a0398a9d79
* Add etc/rc.d/rndctl script, based on work by Brian A. Seklecki. This
...
allows you to invoke rndctl(8) during the boot.
* Add rndctl=NO and rndctl_flags="" to /etc/defaults/rc.conf.
* Document rndctl and rndctl_flags variables in rc.conf(5).
2009-01-04 12:10:30 +00:00
isaki
cf59801230
x68k pow(4) now uses MI sysmon_pswitch framework. suggested by tsutsui@.
...
- Make MD poffd(8) retire, and use MI powerd(8) instead of it.
- Make /dev/pow1 retire, because nobody holds /dev/pow0 any longer.
Use /dev/pow0 for pow(4) ioctl.
- POWIOCSSIGNAL ioctl which is for poffd(8) is also obsoleted.
2008-12-20 13:20:58 +00:00
mishka
43e91ff9f2
Import rc.d/httpd script for httpd(8) daemon control.
...
See rc.conf(5) for options explanation.
2008-12-11 13:55:16 +00:00
cube
4edff860d5
- Generate xdm and xfs depending on the value of X11FLAVOUR
...
- Only generate and install them for MKX11 builds
2008-12-05 18:55:22 +00:00
tsutsui
63156ee6a4
/etc/rc.d/mountall should obviously REQUIRE mountcritremote, and
...
may also REQUIRE named and ypbind for NFS hostname in fstab(5).
2008-12-01 14:47:14 +00:00
tsutsui
3381903ec0
Add "bootconf" to REQUIRE: lines which had beforenetlkm
...
since removed beforenetlkm required bootconf.
2008-11-22 20:23:33 +00:00
abs
845c5d6f11
Add a 'reload' option - from Peter Bex
2008-11-17 11:34:04 +00:00
ad
0efea177e3
Remove LKMs and switch to the module framework, pass 1.
...
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00
christos
6536944397
eval arguments one more time so that quoting works.
2008-10-11 17:28:03 +00:00
apb
9b7231008d
Move default route configuration after interface alias address
...
configuration, in case people have default routes over aliased
addresses.
2008-09-26 10:31:46 +00:00
apb
c44f01fe5d
remove an unecessary "eval"
2008-09-20 14:22:57 +00:00
apb
94f952dfe5
* Allow multiple commands in $ifconfig_xxN variables in rc.conf(5).
...
This may be done either by embedding newlines in the value,
or by using semicolons to represent line breaks (but not both at once).
* Allow shell quoting insode $ifconfig_xxN variables or /etc/ifconfig.xxN
files. This allows something like ifconfig_wi0="ssid 'my network'; dhcp"
2008-09-20 12:12:38 +00:00
reed
2ae533f9b5
Use absolute path for various /sbin tools.
...
This is consistent with several other rc.d scripts
and fixes problem with /sbin not in PATH.
(Tested several times for over three weeks, but not all
parts of this code were used by me.)
2008-07-24 19:48:19 +00:00
yamt
fff57c5525
merge yamt-pf42 branch.
...
(import newer pf from OpenBSD 4.2)
ok'ed by peter@. requested by core@
2008-06-18 09:06:25 +00:00
joerg
32455b2087
Allow per-interface DHCP configuration using dhcpcd via
...
ifconfig_xxN=dhcp or a dhcp line in /etc/ifconfig.xxN.
2008-05-29 15:38:35 +00:00
plunky
486e4624e5
some changes to serial bluetooth host controller interfaces
...
btuartd(8) should be named btattach(8) for consistency
with other parts of NetBSD
make btattach(8) a single-use tool for less complexity
device specicific initialisation (from btuart(4)) is carried
out prior to activating the line discipline (in btattach(8)),
which simplifies the API somewhat and means that the user
tool and the kernel do not need to be kept in sync.
btuart(4) driver is much reduced; naming is made consistent
and all tsleep() and delay() are removed to userland
2008-04-15 11:17:47 +00:00
tron
634457e76e
Print out a message explaining why the system is rebooting if the root
...
filesystem is modified by fsck(8).
2008-03-02 21:31:30 +00:00
tron
5acd6cb052
Don't try to shutdown amd(8) gracefully. It seems to cause problems for
...
more people than the old (also broken) behavior. This fixes PR bin/36506
and PR bin/38103.
2008-02-25 22:12:42 +00:00
christos
3a24c02f26
cleanup fsck error handling:
...
1. explain what each error means
2. remove 130 (128 + 2) which was presumably there because fsck_msdos did
not handle SIGINT properly
2008-02-24 01:05:35 +00:00
reed
f8fd203aa2
Add comment to point to manual page for details.
2008-01-31 15:21:32 +00:00
lukem
114e456e17
Ensure kdc starts after syslogd and ntpdate.
2008-01-16 23:58:26 +00:00
mjf
d4a648c345
Implement a new magic string for magic symlinks, @ruid, which exapnds to the
...
real user id of the process and use this magic string for per-user tmp.
This should fix PR/35687
Kernel parts reviewed by wrstuden@
2007-12-04 22:09:01 +00:00
xtraeme
2026f84dc1
Only print the message if the command ran successfully.
2007-10-07 05:30:56 +00:00
xtraeme
4b431f1771
Update for the new configuration file format for envstat(8)
...
and the envsys framework.
The rc.d has been simplified vastly... the configuration file now
is more powerful than ever!
2007-10-07 04:19:06 +00:00
pavel
d4b5db05c7
Add some magic (similar to the one in rc.d/sendmail introduced with 2.0
...
release) to not start postfix if $postfix is not explicitely set and
another mailer is selected in /etc/mailer.conf. Also print a warning if it
happens because the mailer in rc.conf is the removed sendmail.
This prevents starting two MTAs at once if one uses a custom MTA.
As proposed on tech-userlevel, approved by martin.
2007-08-27 10:59:05 +00:00
dyoung
ea3cf9a639
Let an rc variable, sysdb=YES|NO, control the building of the system
...
databases. Defaults to YES.
2007-08-26 23:55:50 +00:00
apb
e2832b6345
Back out previous (which worked but made the code harder to understand),
...
and implement a different method of avoiding a "-0" result.
2007-08-25 07:07:39 +00:00
martin
fe7b5be8b0
Cosmetics: print 0 instead of -0.
...
From Zafer Aydogan in PR bin/36831.
2007-08-24 17:02:32 +00:00
xtraeme
66c5665356
- Ignore lines with desc at start/stop time, this target must be used
...
manually.
- Ignore lines with rfact at stop time, they cannot be stopped.
Reported by wiz@.
2007-07-25 12:47:44 +00:00
plunky
2134bb0314
add requirement for bthcid since devices may need to authenticate
2007-07-23 18:06:56 +00:00