lukem
2c589141ff
Implement start_cmd as:
...
start_cmd="${name} "'${rc_arg}'
and stop_cmd & reload_cmd as:
stop_cmd=$start_cmd
reload_cmd=$start_cmd
(Just to be tricky)
2003-01-31 06:47:16 +00:00
martti
405c73366e
Back out previous (as discussed with releng). The correct way to set this is:
...
# echo "myserver" > /var/yp/binding/`domainname`.ypservers
2003-01-16 11:55:28 +00:00
martti
1e0411d0d5
Script to bind a NIS client to a known server.
...
$ grep yp /etc/rc.conf
ypbind=YES
ypbind_flags="-ypset"
ypset=YES
ypset_flags="myserver"
2003-01-16 07:37:33 +00:00
yamt
567c0a7e50
in comment, metion about src/distrib/sets/lists/etc/mi as well.
2003-01-10 05:07:45 +00:00
christos
99f6c8054f
add staticroute
2003-01-09 15:58:23 +00:00
christos
e4cf375b81
Script to add and remove static routes:
...
eg:
$ cat /etc/route.conf
# Turn on/off IP forwarding.
+sysctl -w net.inet.ip.forwarding=1
-sysctl -w net.inet.ip.forwarding=0
net 192.168.2.0 -netmask 255.255.255.0 192.168.150.2
2003-01-09 15:57:02 +00:00
christos
8d1054dc70
revert previous; luke and matt want this as a separate script.
2003-01-09 15:52:58 +00:00
christos
22aa10c0a0
Add /etc/route.conf processing to add static routes. Removes one more
...
reason for netstart.local.
2003-01-09 15:12:47 +00:00
jhawk
2c3ae584e1
Run ldconfig with ${rc_flags} so you can set ldconfig_flags in rc.conf
...
to specify additional a.out directories to merge into the runtime link
cache.
2003-01-08 04:17:19 +00:00
tron
2005231632
Revert last change for now. It causes hangs during system shutdown when
...
NFS filesystems are mounted.
2003-01-07 08:41:55 +00:00
tron
74efbb051c
Add keyword "shutdown" so that this script is really executed on system
...
shutdown to delete clone interfaces.
2003-01-06 10:11:14 +00:00
wiz
247d6694f7
Handle links to absolute paths too. Closes my PR 19125.
2002-12-05 16:52:58 +00:00
lukem
2cc646d2d1
ipmon -D writes a pidfile; use it
2002-10-21 05:20:00 +00:00
kent
ba5fd9b3f8
/etc/rc.d/mixerctl: Add capability to save and restore mixer settings.
...
Thanks to Julio Merino.
2002-10-12 11:29:28 +00:00
elric
98839fb386
Added cgd rc.d script and put it in the appropriate postinstall and
...
mtree files.
2002-10-09 14:55:53 +00:00
atatat
a67080c774
Reorganize the sysdb script so that lkm{1,2,3} can request that the
...
dev database be rebuilt after loading modules. Loading modules might
create new nodes in /dev, but the dev database is being initialized
too soon for lkm2 and lkm3. This means that, eg, /dev/xf86 (typically
marked AFTERMOUNT and loaded by lkm2) will show up properly. Reviewed
by lukem.
2002-10-08 16:21:52 +00:00
tron
6e40068171
Automatically create and destroy cloning interfaces and sync IP Filter
...
immediately afterwards before bringing the interface up. This avoids
a small security gap existing in the previous scheme where IP Filter
was synced after all cloning interfaces were created and brought up.
2002-10-05 05:24:40 +00:00
martti
3e11ad9d79
Print a warning message if IP forwarding is not activated (PR#10295).
2002-09-24 11:03:53 +00:00
perry
8a20c1019d
create a utmpx with the same permissions as utmp
...
Solves pr 18282, although very differently.
2002-09-16 02:23:31 +00:00
abs
df86ef5a9f
Split raidframe parity checking/rebuild out into raidframeparity, which is
...
called after quota so we don't end up with fsck and raidframe parity rebuild
taking forever after a crash/reboot.
While we are here check for raid[0-9].conf & raid[1-9][0-9].conf not
raid[0-9].conf & raid[0-9][0-9].conf
2002-09-03 15:35:51 +00:00
takemura
b8ce6e8201
Added touch panel calibration utility.
2002-08-27 14:12:09 +00:00
martin
39acbf03ed
Avoid exit(0) to play more nicely with rc_fast_and_loose.
...
Noted by Greywolf on tech-userlevel.
2002-08-16 18:05:19 +00:00
thorpej
afbf483286
Add a wdogctl startup/shutdown script.
2002-07-30 05:58:42 +00:00
bad
e9a1e24f95
Ignore "peer" statements for local clocks too when selecting hosts from
...
ntp.conf.
2002-07-19 03:22:09 +00:00
rafal
4b77d56d71
Skip blank lines in the input file (mixerctl.conf).
2002-07-16 03:24:24 +00:00
yamt
4b45ab0ce1
add comment:
...
"if you're adding new scripts, don't forget to update
src/etc/postinstall and src/etc/mtree/special."
2002-07-03 23:31:25 +00:00
itohy
908bf86adc
Check for /dev/clockctl availability and print appropriate diagnosis if not.
2002-07-02 14:47:22 +00:00
grant
490569127e
add wsmoused.
2002-06-29 04:07:08 +00:00
christos
7f89b13752
Add wsmoused
2002-06-27 15:08:55 +00:00
lukem
da820a3387
Build the list of names to check for $XXX_chrootdir support from
...
`rcorder -k chrootdir` rather than hardcoding "named ntpd".
Based on [misc/16884] from Jarle Greipsland <jarle@uninett.no>
2002-06-18 14:35:38 +00:00
lukem
56dc20a9f6
ntpd_chrootdir needs /dev/clockctl as well
2002-06-17 06:47:58 +00:00
lukem
3da8227a70
$ntpd_chroot requires "pseudo-device clockctl" in the kernel
2002-06-15 01:55:44 +00:00
lukem
4f32d6fce8
- at least require mountcritremote (mixerctl is in /usr)
...
- read from < mixerctl.conf instead of piping output of cat...
2002-06-11 16:31:41 +00:00
jmcneill
8ebbe63269
Fix typo.
2002-06-02 19:04:10 +00:00
jmcneill
56d95e6efe
Add mixerctl script.
2002-06-02 18:37:45 +00:00
jmcneill
b055b3e3e4
Add boot script to load mixer settings from /etc/mixerctl.conf, if present.
...
This allows one to preserve mixer settings across reboots by running:
mixerctl -a >/etc/mixerctl.conf
2002-06-02 18:36:46 +00:00
tron
a3ed40ee7c
Sync ipf(4) after starting or stopping. This is necesarry to make filter
...
rules for dynamically created interfaces like pppoe(4) effective.
2002-05-04 13:53:02 +00:00
lukem
d1d73e68b7
don't bother warning or supporting obsolete $critical_filesystems_beforenet
...
or $critical_filesystems; postinstall now checks for these
2002-04-29 12:29:53 +00:00
lukem
25bdefc720
don't bother warning or supporting obsolete $ip6forwarding;
...
postinstall now checks for this
2002-04-29 12:13:14 +00:00
lukem
2a48d151ab
don't bother warning about obsolete $defcorename and $nfsiod_flags;
...
postinstall now checks for these
2002-04-29 12:10:23 +00:00
lukem
546b01ef65
don't bother warning about obsolete $amd_master; postinstall now does this
2002-04-29 12:08:17 +00:00
lukem
244b762de1
Complete the conversion back to the OpenSSH default configuration files of
...
"/etc/ssh/ssh_config" (from "/etc/ssh/ssh.conf") for ssh(1) and other
userland tools, and "/etc/ssh/sshd_config (from "/etc/ssh/sshd.conf")
for sshd(8).
etc/postinstall will detect this, and if "fix" is given, rename the files.
2002-04-29 08:23:34 +00:00
lukem
b3cffe8cbf
deprecate $sshd_conf_dir and hardcode /etc/ssh.
...
$sshd_conf_dir wasn't as flexible as liked (it didn't work for ssh(1),
host keys or known_hosts).
2002-04-29 05:55:05 +00:00
lukem
39a9178088
- Improve wscons.conf(5)
...
- Add support for "setvar", which allows setting of arbitrary wsconsctl(8)
variables. Per email on tech-userlevel from Julio Merino <jmmv@hispabsd.org>
2002-04-26 00:06:53 +00:00
lukem
2c1cfc8e8c
- in <bsd.files.mk>, don't clear FILES after using it, as that prevents
...
make -V FILES
from being useful (and given that every other variable can be
extracted using make -V, the behaviour was unusually inconsistent
given that the original reason for clearing it doesn't seem to be
relevant anymore)
- use <bsd.prog.mk> instead of directly including <bsd.files.mk>
(and possibly <bsd.man.mk> or <bsd.own.mk>)
- remove obsolete NOPROG
2002-04-24 08:18:45 +00:00
enami
c52dde84e4
Don't assume that $0 is this script.
2002-04-19 23:13:44 +00:00
enami
8a4552987f
Wrap long lines.
2002-04-19 23:12:26 +00:00
lukem
2f01f87528
add a PROVIDE line
2002-04-18 07:33:42 +00:00
lukem
69a8b3e4e9
Revert previous:
...
+ it was not discussed first
+ it is not consistent with the rest of the rc.d system. everything else:
- has defaults & example configuration in /etc/defaults/rc.conf
- uses lower-case variable names, including ipmon itself
Similar functionality added by the change I'm backing out may be
reintroduced in the future once it's been changed to meet our de-facto
rc.d standards, as opposed to something that appears to have been
lifted from a non-NetBSD source (HP/UX ?) ...
2002-04-18 05:02:00 +00:00
darrenr
011bcd6f48
load_rc_config needs to be called earlier to pickup the variables from the
...
config file so they can be used in the rc script itself.
2002-04-17 11:42:54 +00:00