perry
816886ef7a
move /usr/share/postfix to /usr/share/examples/postfix. It makes sense
...
to have a /usr/share/sendmail because that directory contains the m4
source file for the .cf file in /etc, but for postfix, it really is
just an example.
2000-04-30 18:10:28 +00:00
lukem
0a610ebbd3
use extra_commands= instead of using 2nd argument to run_rc_command
2000-04-30 13:23:04 +00:00
lukem
c8ddd6124a
- prefix some more local variables with `_' (when you have a convention,
...
stick to it :-)
- simplify run_rc_script (no need to support fast* or force* here...)
- clarify some comments
2000-04-30 13:16:47 +00:00
lukem
3b853f3018
remove /var/run/dmesg.boot before attempting to write to it
2000-04-30 12:39:56 +00:00
lukem
32c9a44095
- use checkyesno in $start_precmd and change start_cmd to `postfix start'
...
- use $extra_commands instead of passing "reload" to run_rc_command
2000-04-30 12:21:00 +00:00
lukem
0c2e1a2b7e
change run_rc_command() to take the list of extra commands supported
...
from a variable ($extra_commands) as opposed to from $2-* on the
argument list. it's cleaner; and allows for the possibility of
multiple command arguments being passed to run_rc_command() in the
future.
2000-04-30 12:19:07 +00:00
perry
fc2c9714f0
add default alias for postfix pointing to root.
2000-04-30 05:49:10 +00:00
kleink
cc7e7b3d7a
Fix raw partition number for cd(4) nodes.
2000-04-29 09:47:01 +00:00
veego
63f94fabf2
Fix the last change so it doesn't fail due too a missing '; then'.
2000-04-29 06:01:08 +00:00
abs
9e96565f2e
pcmcia modems end up at com3 with a GENERIC kernel, so create a tty03 in std
2000-04-29 00:10:37 +00:00
abs
e335e1cd4d
useradd defaults to using the 'users' group, so add one.
2000-04-29 00:09:31 +00:00
ad
b093a1430b
Make ca* devices.
2000-04-28 13:55:04 +00:00
lukem
0c5f67f0ac
in check_pidfile and check_process, also match "(" + `basename prog` + ")" .
...
noted by veego@
2000-04-28 01:40:09 +00:00
thorpej
7a38ab7c44
Don't warn about $hostname not being set if $dhclient == YES; it's quite
...
likely that we'll be getting the hostname via DHCP when it runs.
2000-04-28 00:13:39 +00:00
veego
ebe6c4d40d
Use the stop_cmd to unmount the filesystems with 'umount -a'.
...
This helps to fix the unclean reboots (at least on my system).
2000-04-27 21:00:50 +00:00
veego
c9f5754ee8
You need to add a xxx_precmd with a checkyesno yyy if you use a xxx_cmd
...
in an rc.d script.
2000-04-27 20:58:26 +00:00
tron
9a8415ba0b
Add a bunch of SSL services.
2000-04-26 16:28:17 +00:00
lukem
0716b4f382
don't bother checking rc_configured each time run_rc_command executes; once in /etc/rc is enough
2000-04-26 15:06:46 +00:00
thorpej
fad0a37405
Provide rc.d support for the Postfix mail system. Committed to the
...
base because there is no support for packages in rc.d, and Postfix
is supposed to become part of the base system anyhow.
2000-04-26 05:28:03 +00:00
thorpej
0316517d36
Make ccd and raidframe provide `disks', and make swap1 and fsck
...
depend on `disks', rather than `ccd' and `raidframe'.
2000-04-26 05:13:51 +00:00
itojun
dffc281396
add zone file for "localhost.". this is included in examples in BIND8,
...
and is a good thing to have (no outside DNS server will supply this).
2000-04-26 01:33:27 +00:00
fair
065c791de8
Add skeyaudit to /etc/security (with a variable to disable) per PR 5871
2000-04-24 23:46:37 +00:00
lukem
caa2beb10e
revert previous; the fast-start functionality already existed, and
...
works at multi-user boot. (starting /etc/rc after single user boot
doesn't exhibit this fast start behaviour).
2000-04-22 03:01:22 +00:00
itojun
3fff16ff47
rtsol is not a daemon. rtsol.d should have been killed by rc.d/rtsold.
...
(correct me if i'm wrong)
2000-04-20 02:12:04 +00:00
enami
f3d36a14e8
Add login.conf, sysctl.conf and usermgmt.conf.
2000-04-20 02:01:52 +00:00
simonb
72951fce20
Don't need ()'s around "cd ... && ${MAKE} ...".
2000-04-19 13:45:24 +00:00
simonb
5e6480feca
Add an "rc_fastboot" variable check in rc.subr, that if set adds
...
"fast" to the start of the run_rc_command arg.
/etc/rc calls each rc.d script with rc_fastboot=yes so that rc.subr
aware scripts to use "faststart" to skip the process running check.
2000-04-19 04:26:22 +00:00
thorpej
a596663a81
nfsiod script is gone.
2000-04-16 04:18:51 +00:00
tsarna
a32696c2de
Death to nfsiod!
...
It is replaced by kernel threads that do the same thing. The number of
kernel threads used is set with the vfs.nfs.iothreads sysctl.
2000-04-15 21:14:48 +00:00
lukem
f408de971d
as this script is primarily for compatibility (with people's
...
rc.local), call it in a way that is compatible with the old behaviour:
* remove the stop case
* don't set $1="start" in the start case
xxx: it's debatable if this script should even exist, but i digress ;-)
2000-04-13 00:39:47 +00:00
lukem
2665e61925
make `stop' a no-op, so that the network doesn't disappear at an
...
inconvenient time during boot.
this may be fixed a different way in the long term... (not that the old
rc.shutdown supported stopping the network, or could i really see a
practical use for allowing it at this stage, but in the future someone
might want the functionality i've just disabled).
2000-04-11 05:03:24 +00:00
tsarna
506c359083
Improve backwards compatability and leave securelevel the old way.
2000-04-09 21:00:04 +00:00
tsarna
163510ecf4
The file /etc/sysctl.conf is now run with sysctl -f at boot time.
...
This replaces the previous /etc/rc.d/sysctl. Also, the variables are now
set earlier, between ipf/ipnat and the network coming up.
The rc.conf defcorename and securelevel variables are no more. You can
set them directly in sysctl.conf now.
2000-04-08 23:02:53 +00:00
thorpej
93f24178a7
dhclient does not, in fact, require /var/db/dhclient.leases to exist.
2000-04-06 17:19:13 +00:00
fredb
dc04b64906
- - Take BUILD_KERNELS to be the kernels to make into sysinstall kernels.
...
- - Clean up.
2000-03-30 03:25:48 +00:00
fredb
c4ae664105
Revert last two changes. As pointed out by enami tsugutomo, snap_md_post
...
is the wrong place to do the splits, as the tar files are not yet made!
2000-03-29 23:47:53 +00:00
soren
5c57db66c3
Add comments.
2000-03-29 15:58:42 +00:00
soren
58e9dbb6aa
Mount ext2 fs with kernel on /stand.
2000-03-29 15:58:34 +00:00
enami
129d97f658
routed is live in /sbin, not /usr/sbin. Pointed out by kay@kaynet.or.jp.
2000-03-29 09:09:06 +00:00
soda
aea5721be9
from i386 port revision 1.5 by Tsugutomo Enami:
...
Uncomment out the CD-ROM entry and remove outdated comment for the
reason why it was commented out.
2000-03-29 06:45:35 +00:00
enami
a1e356450f
Uncomment out the CD-ROM entry and remove outdated comment for the
...
reason why it was commented out.
2000-03-29 03:43:32 +00:00
enami
e8b27ae5ed
Check rc_configured also here, and bail out if it isn't set to yes.
2000-03-29 02:13:51 +00:00
fredb
630e63cb47
Don't include ${RELEASDIR} in INSTALLATION_DIRS. Error pointed out by
...
Urban Boquist in PR install/9689.
2000-03-28 16:26:30 +00:00
thorpej
47cd48f3db
Use distrib/sets/Makefile in the release: and new cryptoset: targets.
2000-03-28 00:39:17 +00:00
msaitoh
96b85dc028
set major number of /dev/console to 0 (not 8 (com))
2000-03-27 19:35:25 +00:00
fredb
7b0e557100
Build the split sets in place on "make release".
2000-03-26 15:48:22 +00:00
enami
3a640d007a
Add ftpd.conf.
2000-03-24 22:37:48 +00:00
soren
5ce9472a83
NetBSD/cobalt /etc.
2000-03-19 22:10:56 +00:00
itojun
0a94c72b0f
correct reject route installations for IPv6. improve comments.
2000-03-17 17:41:01 +00:00
itojun
10257beef5
comment fix. it is not mandatory to supply the configuration file,
...
rtadvd(8) can guess the configuration from the routing setups.
2000-03-17 17:35:20 +00:00
lukem
174455c38a
fix check for domainname since it can come from /etc/defaultdomain as well as $domainname
2000-03-16 22:22:15 +00:00
ad
d52bc434ce
Device entries for ca(4).
2000-03-16 14:58:09 +00:00
fvdl
8fbb81c21e
dhclient lives in /sbin, not /usr/sbin
2000-03-15 03:15:47 +00:00
tsutsui
d8a503fec5
Try to make the install floppy work on 4MB machines:
...
- reduce memory disk size
- use x_dd, x_ifconfig and x_route
- use libhack.o (sync with i386)
- don't use mfs as /tmp
Tested by Luigi Filippini <filippini@tiscali.it> and me.
2000-03-13 13:16:54 +00:00
lukem
52462864b7
ssh script removed, so remove sshd=NO line
2000-03-13 05:07:15 +00:00
lukem
0059d641e5
* replace daemon, login, servers with DAEMON, LOGIN, SERVERS
...
* remove sshd (it was from my private system)
2000-03-13 04:03:52 +00:00
takemura
028706d573
Add wsmux0 and wsmux1.
2000-03-12 13:58:14 +00:00
itojun
deaf45edc1
disallow packets to malicious 6to4 prefix, based on
...
http://playground.iijlab.net/i-d/draft-itojun-ipv6-transition-abuse-00.txt
2000-03-12 04:21:26 +00:00
thorpej
5d18d90843
Rearrange so the ouput of this is a bit more cosmetic.
2000-03-12 03:49:36 +00:00
thorpej
292a9f03be
Since we have an "sshd" script in rc.d, we should have an "sshd" knob
...
in rc.conf.
2000-03-12 03:49:11 +00:00
veego
bfa0f14ea6
Fix the network_stop function so it doesn't fails due to missing ]['s.
2000-03-11 20:13:42 +00:00
veego
0cc5873563
Add raidframe to the REQUIRE list. rcorder seems to get it right, but it
...
is better to add it.
2000-03-11 20:12:22 +00:00
veego
b869270297
Don't start rc.wscons with an start/stop argument. Disable stop and add an
...
checkyesno check.
2000-03-11 20:11:16 +00:00
veego
84807b9933
Add missing checkyesno's.
2000-03-11 20:10:21 +00:00
veego
aacfec2af3
mountd requires mountall.
2000-03-11 17:29:50 +00:00
shin
5fa9d50bcd
add missing callunit.
...
fix ucbsnd.
2000-03-11 07:45:31 +00:00
windsor
738b8e9986
oops, pppd doesn't require /etc/ppp/options now.
2000-03-10 20:21:57 +00:00
windsor
a59fb6d3bc
forgot to add /etc/ppp/options to special(5)
2000-03-10 20:02:46 +00:00
windsor
47cab3ac18
create /etc/ppp when building install sets
...
add this and a lot of files not previously looked at in special(5)
2000-03-10 20:01:50 +00:00
lukem
c595577502
if checkyesno do_rcshutdown, run scripts in /etc/rc.d/* in the
...
reverse order returned by rcorder
2000-03-10 13:17:25 +00:00
lukem
8f8c6d6b2a
run scripts in /etc/rc.d/* in the order returned by rcorder
2000-03-10 13:15:58 +00:00
lukem
d2fc7332ae
add /etc/rc.d
2000-03-10 12:04:43 +00:00
lukem
c132a440d2
install rc.d scripts
2000-03-10 11:59:35 +00:00
lukem
c53094a738
rc.d scripts derived from /etc/rc
2000-03-10 11:53:23 +00:00
lukem
6096ea59cd
* add:
...
check_pidfile parse a pidfile for a pid, checking that the
process is running, and print the matching pid
check_process print a list of running pids that match the procname
run_rc_command kitchen sink function to simplify creation of
rc.d scripts
run_rc_script invoke an rc.d script appropriately
rc_usage print a usage string for an rc.d script
err similar to err(3)
warn similar to warn(3)
* add copyright
* remove islocalfs(); nothing uses it
2000-03-10 11:39:27 +00:00
tsubai
dfa4c86f40
Correct cd* minor number.
2000-03-07 18:24:16 +00:00
groo
327c7e4af9
add lm0 to 'all' target
2000-03-07 17:55:06 +00:00
jdolecek
020a8ac5b2
make clearing of /tmp after reboot configurable (default on), as per recent
...
discussion on current-users
2000-03-07 14:33:13 +00:00
is
72f77e9fb3
Build the miniroot, too, when building the release.
2000-03-06 21:54:05 +00:00
ragge
f61a38f7f7
Add "ta=4.2BSD" to floppy A partition + some other small fixes.
...
From Todd Whitesel.
2000-03-04 16:11:35 +00:00
tsubai
24c978b1d5
Add "floppy" target.
2000-03-04 15:46:08 +00:00
uch
8c8afb18a9
add TX39 internal UART and UCB1200 audio device.
2000-03-04 15:02:44 +00:00
veego
9fbb1fd9b4
Add /usr/share/man/{cat,man}8/arc
2000-03-03 20:34:17 +00:00
soda
2b9070c1d9
to make binary snapshot
2000-03-03 12:56:05 +00:00
christos
9e721e2455
Don't use grep to find if we have fdesc mounted. case is faster and
...
works without having /usr mounted.
2000-03-01 19:03:17 +00:00
joda
89c2906ea5
explicitly allow writable directories when rebuilding the alias
...
database, otherwise this will fail if any directory in ${DESTDIR} is
g+w.
2000-03-01 16:48:35 +00:00
itojun
627898817e
sync with etc/namedb change (IPv6 loopback reverse database file)
2000-03-01 11:21:13 +00:00
itojun
ca7ee807d5
change filename for IPv6 loopback address (::1).
...
many found it ugly, and I found that I've made a mistake in old name.
there needs to be 4 more "0"s!
this commit renames
etc/namedb/0000:0000:0000:0000:0000:0000:000 into etc/namedb/loopback.v6.
(based on recent discussion I did not use cvsmove)
2000-03-01 11:06:27 +00:00
augustss
ab5e19cc9f
Make /dev/usb, a node where USB events can be read.
...
Also add ttyU to hpcmips.
2000-02-29 19:07:41 +00:00
augustss
66ee7c2e15
No need to make audio devices twice in all.
2000-02-29 18:48:05 +00:00
nonaka
37eb9eebc2
Initial import prep port.
2000-02-29 15:21:20 +00:00
itojun
f539e10ff8
enable IPv6 ftp and telnet by default.
...
it makes more sense to me as we have INET6 in kernel, and we have ftp4/telnet4
enabled by default. maybe I'm biased:-)
2000-02-28 17:25:42 +00:00
wiz
24d8e4f798
added share/locale/pt_BR/LC_MESSAGES for grep 2.4
2000-02-27 01:27:48 +00:00
mycroft
f4665e12b2
Install a blank sendmail.st here.
2000-02-26 18:42:31 +00:00
tsutsui
6009529bb4
Remove extra `;' in md* entry.
2000-02-26 05:39:51 +00:00
nisimura
bd10f55368
Nuke an extra ;; introduced by md* fix.
2000-02-26 04:43:27 +00:00
groo
a41f67cc02
Add `lm*' for LM7[89] hardware monitor
2000-02-25 02:35:49 +00:00
nisimura
a23763688e
Make MI SCSI device ready. For now MAKEDEV all won't create them.
2000-02-22 03:57:38 +00:00
mycroft
a59987f569
Let the main Makefile deal with building kernels.
2000-02-20 03:52:22 +00:00
mycroft
01b2f6e1de
Sum the floppy directory, too.
2000-02-20 03:38:04 +00:00
mycroft
ad78992969
Always checksum binary/kernel, now that there is at least one file in it.
2000-02-20 03:32:37 +00:00
mycroft
58895df429
Clean up a bit.
2000-02-20 03:11:12 +00:00
mycroft
f10265540b
Always install GENERIC in the kernels directory.
2000-02-20 03:10:50 +00:00
mycroft
4bf1c78bfb
Make the tset stuff actually set the environment variables again.
...
Someone was on crack.
2000-02-19 19:00:13 +00:00
mycroft
b24c03aa71
Simplify the tset crap, and do not set $HOME gratuitously.
2000-02-19 18:39:01 +00:00
jwise
4316d096db
1.) bring over the second half of David Brownlee's change to dot.login --
...
don't query the user for terminal type if the type is not `unknown'
2.) change this a little in both the csh and the [k]sh cases -- do call
tset(1) even if the terminal type is known (so that TERMCAP is set
properly, but don't have it query the user.
2000-02-16 03:07:09 +00:00
jwise
8d796b1774
Port to [k]sh(1) startup files David Brownlee's improvement from
...
cvs rdiff -r1.4 -r1.5 basesrc/etc/root/dot.login
As there, text is from Miles Nordin.
2000-02-16 02:02:02 +00:00
abs
6d39fee74c
Only display the 'use su' message in the non 'su -' case.
...
Update the 'use su' message (text from Miles Nordin).
If the terminal type is !unknown, do not prompt for it.
2000-02-15 19:29:54 +00:00
erh
aae51fbc36
Check for CRYPTOPATH variable instead of "../domestic" when deciding to build the secr set.
2000-02-14 18:37:39 +00:00
scottr
29cb4c7412
Merge wscons work onto the main development branch.
2000-02-14 07:12:34 +00:00
itojun
a3aa7fe66f
add ip6defaultif configuration variable in rc.conf, for configuring
...
default outgoing interface for IPv6 host when default router list is empty.
the configuration is just for very rare case. it is safe to leave it empty.
2000-02-13 07:47:26 +00:00
shin
c45bb5af35
change console terminal type from 'unknown' to 'vt100'.
2000-02-12 13:46:54 +00:00
itojun
e70542be3a
fix comment in "imap" line to honor IMAP4.
...
IMAP2 (RFC1176): Interactive Mail Access Protocol
IMAP3 (RFC1203): Interactive Mail Access Protocol
IMAP4 (RFC1730): Internet Message Access Protocol
2000-02-12 04:02:33 +00:00
itojun
15f0d67b67
improve comments about /etc/ifconfig.xxN, /etc/ifaliases, $ifaliases_xxN.
2000-02-11 08:09:56 +00:00
itojun
a89dc9b12d
add two symbolic name for tcp/udp port 143: "imap" and "imap4".
...
at least without "imap", fetchmail chokes.
2000-02-10 18:20:56 +00:00
tsutsui
810e380c89
Oops, I've forgotten to commit this on Jan 21.
...
>- rename (revert) normal memory disk device name /dev/mdX -> /dev/mdXa
>- now raw partitions are used for memory disk ioctls
2000-02-10 16:45:37 +00:00
aymeric
94bfb48ec9
add missing semi-colon
2000-02-09 22:23:32 +00:00
itojun
7a0d226970
ip6forwarding -> ip6mode change (somehow i forgot to commit...)
...
PR: 9375
2000-02-09 16:24:03 +00:00
itojun
b32545eabf
add tcp6 lines for rshd/rlogind.
2000-02-09 11:05:04 +00:00
tron
c089f6c69a
"sendmail" is in "src/gnu/usr.sbin/sendmail" now.
2000-02-09 08:15:12 +00:00
bouyer
bb08aa94ac
add ./usr/share/man/{man3,cat3}/atari
2000-02-07 17:48:52 +00:00
jlam
4a47d48db2
Install correct ld.so.conf if etc.${MACHINE}/ld.so.conf exists.
2000-02-05 18:25:01 +00:00
itojun
aba424872a
add IPv6 loopback address (::1).
2000-02-05 17:53:30 +00:00
itojun
64170fdeab
remove (slightly) bogus comment line about IPv6 config.
2000-02-05 17:52:06 +00:00
itojun
e9056d34cb
change IPv6 configuration syntax to avoid ambiguity.
...
ip6mode=host: IPv6 host
ip6mode=autohost: IPv6 host, with autoconfig
ip6mode=router: IPv6 router
backward compatibility to "ip6forwading" is provided.
2000-02-05 17:02:42 +00:00
veego
bba35f4508
Install named/0000:0000:0000:0000:0000:0000:000 and ntp.conf to fix the
...
damage in distrib/lists.
2000-02-04 09:24:08 +00:00
veego
f250672496
We don't have a bind4.
2000-02-03 17:51:51 +00:00
hubertf
db217da391
add example for HP Laserjet with JetDirect ethernet card
2000-02-02 16:04:51 +00:00
mhitch
4f7848e09f
Add IDE wd* devices for MI wdc support.
2000-02-01 05:26:12 +00:00
jdc
f58c419f41
Allow NFS servers to start up.
2000-01-31 12:47:29 +00:00
fair
e80b8c24a3
remove extraneous flags for xntpd startup, since there is now a
...
default ntp.conf file, per PR 4312
2000-01-28 06:55:52 +00:00
fair
613805537a
A default NTP configuration file, per PR 4312.
2000-01-28 06:49:16 +00:00
itojun
6e5a5cc306
add reverse lookup table for IPv6 loopback (::1).
...
ugly...
2000-01-27 05:17:12 +00:00
explorer
1eea48680e
use 'route -n flush' not 'route flush' otherwise we might spend all our time
...
trying to print hostnames for things we are just flushing anyway.
2000-01-26 07:01:53 +00:00
enami
99a7ca92be
Sync with the reality.
2000-01-24 02:00:50 +00:00
mycroft
55f474fc12
Fix raidN device creation.
2000-01-21 16:46:04 +00:00
tsutsui
cac7cebd3e
- rename (revert) normal memory disk device name /dev/mdX -> /dev/mdXa
...
- now raw partitions are used for memory disk ioctls
2000-01-21 12:28:22 +00:00
mjacob
c6459da685
add SES device
2000-01-20 17:13:27 +00:00
itojun
7f4bafc7bd
add "-n" to netstat -i to avoid reverse query and better audit.
...
print IPv6 interface stat by netstat -inv separately.
comments from: hubertf and others
2000-01-20 04:13:54 +00:00
tron
7c5a18e4d2
Start automount daemon even if NFS client is not activated. This makes
...
sense for system where "amd" is used to mount local devices like e.g.
CD-ROM drives. Fixes PR misc/9126 by Bjoern Labitzke.
2000-01-19 12:00:49 +00:00
mycroft
868dc892af
Put a copy of GENERIC in the kernel directory, too.
2000-01-19 08:36:30 +00:00
enami
5a3473733a
Make some warning message consistient with others.
2000-01-19 03:52:12 +00:00
augustss
5e1ff60d11
Change the name rc.conf.local to rc.local.conf. This makes *.conf match all
...
config files. Thanks to Greg Oster for the suggestion.
2000-01-18 22:43:23 +00:00
augustss
0028c40c50
While we're waiting for the new all singing, all dancing rc system, add
...
a way to configure local stuff; if the file rc.conf.local exists it
is sourced at the end of rc.conf.
2000-01-18 21:52:38 +00:00
abs
aabd13ef64
Use /var/spool/lpd/XXX as pool directory, not /var/spool/output/XXX
...
Intended to address PR #8551
2000-01-17 18:56:08 +00:00
itojun
7ab6c9ab36
add IPv6 items.
...
s/ippcp/ipcomp/ for #108 , as
http://www.isi.edu/in-notes/iana/assignments/protocol-numbers
lists it as ipcomp, not ippcp.
2000-01-17 16:39:37 +00:00
itojun
f6c95d891c
no need to mount /usr just for sysctl, it is in /sbin now.
2000-01-17 02:37:59 +00:00
christos
e597a72d0b
Use cat -f to avoid denial of service attacks by people who make .rhosts
...
files fifos.
2000-01-15 01:15:12 +00:00
pk
49b3458319
Expand `instfs' to 1.8MB.
2000-01-14 13:50:11 +00:00
nisimura
12291ad31f
Add raidframe and fix bozos and typos I made.
...
-
2000-01-13 01:06:24 +00:00