nisimura
e4d2a57704
- avoid -a or -o logical operator of test command as possible. They would
...
introduce syntaxical ambiguousity, and having concatenation with && or
|| costs nothing because our sh(1) has test(1) builtin.
- use elif construct to avoid dungling else-ifs.
- while-read construct does not need enclosed by a sub-shell.
- variable detection could be done in eval args=\$ifconfig_$int
- smart variable substitution occationally saves lines and extra command
invocations.
2000-10-09 05:02:14 +00:00
lukem
0c70e530af
use ${foo##*/} instead of basename $foo
. as suggested (with minor variation)
...
by Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
2000-10-07 07:36:56 +00:00
hubertf
68da9ad9ab
As we ship ssh in-tree now, replace the ssh startup example with one
...
for apache.
2000-10-07 00:22:44 +00:00
itojun
d745652834
add ripng (521 tcp/udp). PR 11139.
2000-10-05 15:19:58 +00:00
hubertf
316c9bbfc5
the ssh pkgs now install a /usr/pkg/etc/rc.d/sshd, not
...
/usr/pkg/etc/rc.d/sshd.sh.
Whether the existence of this lines is useful with ssh in tree is
a seperate issue.
2000-10-05 12:46:34 +00:00
fvdl
2e9564263d
Enable building of additional kernel sets.
2000-10-02 12:51:33 +00:00
thorpej
bf69b1a900
Do the `distribution' target for usr.bin/ssh, too.
2000-10-01 22:31:04 +00:00
lukem
60d3ee1b34
remove unnecessary leading `$' on warnings printed for $required_dirs
...
and $required_files.
2000-10-01 10:10:18 +00:00
lukem
641a3c9378
support loading ipf6.conf as well as ipf.conf.
...
inspired by [misc/11033] by Gregory McGarry <g.mcgarry@ieee.org>
2000-10-01 05:58:06 +00:00
lukem
b5b6e95c7b
move default config files from /etc/default -> /etc/defaults, to be
...
consistent with what FreeBSD uses /etc/defaults for, and since SVR4
uses /etc/default for another purpose.
as discussed on tech-userlevel, and no objections were made.
2000-10-01 05:49:26 +00:00
lukem
6d52152500
move default config files from /etc/default -> /etc/defaults, to be
...
consistent with what FreeBSD uses /etc/defaults for and since SVR4
uses /etc/default for another purpose. as discussed on tech-userlevel,
and no objections were made.
2000-10-01 05:46:03 +00:00
simonb
ad22c8ecf6
Remove the udp entry for rsh-spx and the tcp entry for amanda.
2000-10-01 03:02:46 +00:00
fvdl
5927169fa7
Mention "a.out" in the start message to be clear about the purpose of
...
this script.
2000-09-29 17:49:25 +00:00
wdk
ff795bd7a3
Add "MAKEDEV minimal" target for ramdisk builds
...
Tidy up a few comments at the same time.
2000-09-29 11:43:48 +00:00
simonb
01c5215d95
Fix typo in comment.
2000-09-29 00:53:41 +00:00
thorpej
c949d8af3c
Always install sshd.
2000-09-28 22:16:15 +00:00
abs
5aa0a5abb1
Prior art in naming would suggest INSTALL_SYSINST rather than INSTALL-SYSINST.
2000-09-28 12:46:43 +00:00
fvdl
a912989e45
Add INSTALL_LAPTOP to kernels to be built.
2000-09-27 20:05:54 +00:00
tsutsui
c725dcdb09
RAW_PART == 10 on sgimips, so adapt memory disk entry for it.
2000-09-27 10:50:37 +00:00
tsutsui
03076560df
Fix memory disk entries (md?c -> md?d)
...
since RAW_PART == 3 on these ports.
2000-09-27 10:33:27 +00:00
itohy
60026b334e
rcd0d -> rcd0c since x68k port uses c for the ``raw'' partition
2000-09-27 03:41:12 +00:00
simonb
2dfc419b59
Add rsh-spx and amanda from the IANA list.
2000-09-25 12:42:57 +00:00
augustss
8e735041d9
Prepare for USB scanners, and add Rio 500 support while messing.
2000-09-23 04:27:17 +00:00
ad
d43acf7d93
Provide the option of running newsyslog at boot time; mainly for laptop
...
people.
2000-09-21 10:36:02 +00:00
hubertf
6a676a7bb4
Note that rpcbind was formerly known as portmap. See PR 11055.
2000-09-21 10:15:33 +00:00
lukem
bd11504cb2
- only perform the checkyesno on the variable named in $rcvar (rather than
...
implicitly using $name if $rcvar isn't set), and always perform this check,
even when using start_cmd (et al).
this check is performed before the pidcmd
is run, speeding up scripts that weren't going to be run anyway.
this should speed up booting slow systems.
- take advantage of the above and remove
start_precmd="checkyesno foo"
in scripts that use start_cmd.
- explicitly set rcvar=foo in the rc.d/foo scripts which have an equivalent
rc.conf entry
- fix `rcvar' and `restart' when $rcvar isn't set.
these above changes fix PR [bin/11027].
- when doing `force*', ignore the return value of *_precmd.
this fixes PR [bin/10781].
- rename what sysdb provides from `databases' to `sysdb', to reflect
the name of the script.
- improve the comments in rc.subr
2000-09-19 13:04:38 +00:00
msaitoh
7d8e2a2ecb
etc files for evbsh3
2000-09-18 12:58:55 +00:00
wdk
82951d0f48
MD files for NetBSD/mipsco
2000-09-18 11:00:33 +00:00
is
eefbc5a70e
When building a release, build miniroot and installation notes automatically,
...
too. Patch by Michael Hitch.
2000-09-17 19:04:39 +00:00
jdolecek
1c61a5d083
On sendmail start, check modification time of /etc/mail/aliases
...
and couple of other common map files and regenerate appropriate
*.db files as needed.
Idea taken from RedHat 6.2.
2000-09-14 21:03:17 +00:00
abs
9b2fc1ecc4
Create two devices for framebuffers that can have more than one card installed
...
Now a dual head cgsix box (for example) will work in X by default.
2000-09-14 10:00:32 +00:00
fvdl
31d5237f30
Now that kpasswdd works from inetd, also correct the entry: kpasswdd is an
...
udp service, not tcp.
2000-09-13 11:34:57 +00:00
minoura
ff4b8473ae
Enable sram device, which is used by memswitch(8).
2000-09-12 15:00:06 +00:00
matt
fd779f8fc8
Deal with the fact the local directory may not be writeable.
2000-09-12 05:11:10 +00:00
hubertf
b4b75848de
Add standalone "iso-image" target that can be run with DESTDIR and RELEASEDIR
...
set in src/etc after a "make release" in both "src" and "xsrc", to create a
ISO-image of the release in $RELEASEDIR/installation/cdrom.
Hook for architecture dependent pre/post-processing in etc/etc.*/Makefile.inc
are available as 'iso-image_md_post' and 'iso-image_md_pre', see
etc/etc.i386/Makefile.inc as an example. Might be useful for setting up
bootable CDs on alpha, sparc, ...
Reviewed by Todd Whitesel and Thomas Klausner.
2000-09-11 21:53:30 +00:00
augustss
2605399d1e
Create ./usr/share/examples/kerberos so that `make install' works again.
2000-09-11 03:00:29 +00:00
matt
eb47049370
We actually do know about KERNOBJDIR so use it.
2000-09-10 22:04:27 +00:00
christos
b4266bbcb7
PR/10982: kilbi@rad.rwth-aachen.de: Don't confuse printf with usernames
...
that start with -.
2000-09-10 21:27:50 +00:00
jdolecek
cd0b41e240
modload: use kernel name obtained via sysctl machdep.booted_kernel if the sysctl
...
is available and file it points to is readable
2000-09-10 16:50:05 +00:00
joda
9482480921
rename the old BSD kpasswd' to it's secondary name
kpwd', since
...
`kpasswd' is officially assigned to another port
2000-09-10 14:43:28 +00:00
lukem
42655f8ee9
REQUIRE ipnat and mountd.
...
fixes PRs [misc/10958] and [misc/10959] by Mike Santos <mike@ethmoid.org>
2000-09-06 01:05:43 +00:00
enami
f35cb8ff6d
Add an entry for optional dumpdates.
2000-09-05 05:48:54 +00:00
abs
23551b0530
Run 'make release' in sysinst distrib dirs
2000-09-04 16:34:13 +00:00
is
0a7489b1e8
Enlarge RAMDISK to make it fit the installation fs again.
...
By Mike Pumford per port-arm32 mailing list..
2000-08-30 21:29:16 +00:00
is
e2f977d871
Add smaller install kernels.
2000-08-29 21:14:31 +00:00
hubertf
389581c1cf
run skeyaudit, if run_skeyaudit is set to yes
2000-08-25 01:11:42 +00:00
jhawk
2ea44b1dd4
install dosboot.com in the release(7) hierarchy.
2000-08-23 21:00:46 +00:00
jhawk
3635b53ea7
As .ifndef RELEASEDIR checks for targets:
...
snap_pre snap_md_pre snap_md_post
so should .ifndef DESTDIR
2000-08-23 20:48:42 +00:00
jdc
6e3eddc4dd
Make the 3rd and 4th serial ports on a 4/300 work again - ttyc and ttyd are
...
now minors 2 and 3 respectively.
2000-08-23 10:43:08 +00:00
abs
671e8ba97c
unxexpand -a
2000-08-22 11:31:28 +00:00
mrg
7396e4ef69
for PCIIDE users.
2000-08-22 05:33:27 +00:00
lukem
ebc99afce8
sort lines. add nonlocalswap, securelevel
2000-08-21 23:39:07 +00:00
lukem
e26f093e93
convert fsck.sh -> fsck (using kill -TERM $$ to stop autoboot).
2000-08-21 23:38:07 +00:00
lukem
b94d4bd809
sort REQUIRE lines
2000-08-21 23:36:50 +00:00
lukem
093b7f0ae5
remove BEFORE DAEMON
2000-08-21 23:35:41 +00:00
lukem
3f5134ff22
REQUIRE ipfilter and ipsec
2000-08-21 23:35:20 +00:00
lukem
8f896c47b9
REQUIRE bootconf' in lkm1 rather than
BEFORE beforenetlkm' in bootconf.sh
2000-08-21 23:34:45 +00:00
lukem
a4517195f9
needs to run after mountcritremote, since ipnat is in /usr/sbin
2000-08-21 23:33:50 +00:00
lukem
d8b52eec28
support running /etc/rc.shutdown.local
2000-08-21 23:33:06 +00:00
lukem
ce3ce86261
migrate raising of securelevel from sysctl to separate securelevel script.
...
the latter depends upon aftermountlkm (but is required by DAEMON), so that
lkms may be loaded before the securelevel is raised.
noted by Rafal Boni <rafal@mediaone.net> in [bin/10780]
2000-08-21 23:31:24 +00:00
lukem
49533ad06e
don't start rc.d scripts with a `nostart' keyword
2000-08-21 23:09:50 +00:00
lukem
4e283949d1
remove rc.wscons
2000-08-21 23:07:11 +00:00
lukem
0c020b6812
migrate guts of these /etc/foo.conf config files into /etc/default/foo.conf,
...
and source the latter in the former. this makes it easier for a sysadmin to
upgrade the default files without affecting local config, and retains the
semantics that the /etc/foo.conf files are the actual files that are edited
(as opposed to /etc/foo.local.conf or /etc/foo.conf.local or whatever, which
isn't as intuitive).
2000-08-21 23:06:22 +00:00
lukem
801142dbde
- install files in etc/default/
...
- migrate rc.wscons to (already existing) rc.d/ wscons
2000-08-21 23:03:10 +00:00
lukem
09251753f6
migrate rc.wscons to (already existing) rc.d/wscons
2000-08-21 23:01:36 +00:00
lukem
cbba2db233
migrate default installation config files from /etc to /etc/default
2000-08-21 23:00:26 +00:00
lukem
aeebc796f0
add etc/default
2000-08-21 22:57:24 +00:00
lukem
54049fb460
remove rc.wscons
2000-08-21 22:57:11 +00:00
abs
31a6224745
Move options into ntp_flags, to make it possible to add '-u' without
...
modifying rc.d/ntpdate
2000-08-21 14:48:39 +00:00
mrg
4c835d91f6
add ramdisk support
2000-08-20 14:48:32 +00:00
lukem
a96d29c7e3
support ${name}_nice even when using ${name}_chroot. per discussion with mrg...
2000-08-19 08:47:43 +00:00
bjh21
31bec2bf20
Add lpt and com
2000-08-17 14:13:41 +00:00
lukem
0847f3e3f5
add support for ${name}_chroot, which chroot(8)s before running the command.
...
allow changing the user credentials to ${name}_user, ${name}_group,
and ${name}_groups as part of this. if ${name}_chroot is used, the following
variables won't work: ${name}_chdir and ${name}_nice.
[requested by mrg; whipped up in a few minutes on his terminal :-]
2000-08-17 11:07:10 +00:00
itojun
b1253dc369
synchronize with /etc/mail content.
...
NetBSD PR 10836 from koji@jp.above.net .
2000-08-15 14:48:23 +00:00
itojun
7342dfee1d
reorder "localhost" entry, to prefer ::1 than 127.0.0.1.
2000-08-15 09:33:05 +00:00
mrg
d2e1f953ef
make that "audio*" not "audio".
2000-08-13 15:37:09 +00:00
mason
ee4a3af175
This should be the final part of moving to 64 PTYs by default. Added
...
entries for tty{r,s}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} to /etc/ttys.
Thanks to Matthew Green for pointing out the need.
2000-08-12 13:43:40 +00:00
phil
8ecc16e026
Add the coda services.
2000-08-11 23:25:34 +00:00
matt
01c441e0c2
Fix device creation for SCSI tapes.
2000-08-11 19:19:03 +00:00
toddpw
e36c17d6c2
Have port-i386 use installation/floppy, for conformance with release(7).
2000-08-11 09:20:38 +00:00
lukem
5007ab036b
- sshd has a pid file, so take advantage of it
...
- support `reload' arg (using default of SIGHUP)
2000-08-10 22:49:43 +00:00
thorpej
690a071d43
Need bsd.own.mk
2000-08-10 22:02:07 +00:00
lukem
0b1677de5f
- provide sshd not ssh
...
- don't start until after LOGIN (after NETWORK is way too early)
- KNF (as such :)
2000-08-10 01:41:09 +00:00
mrg
64fe1807a8
remove xy & xd support.
2000-08-09 10:54:20 +00:00
thorpej
26aeddad0c
Add `swat' (Samba Web Administration Tool) services at 901/tcp.
2000-08-08 03:10:50 +00:00
thorpej
81958d9213
Add kdc/kdc_flags variables.
2000-08-06 21:34:17 +00:00
thorpej
f0c5d26a40
Startup script glue for the Heimdal KDC.
2000-08-06 21:32:56 +00:00
thorpej
6636b19ffd
Add (commented out) hprop service, along with a short explanation
...
of when to enable it and why.
2000-08-06 20:35:13 +00:00
thorpej
eb8931bc84
Add `hprop' service (754/tcp).
2000-08-06 20:12:19 +00:00
fvdl
4ed8b47725
Do not create the binary/security directory, there is no seperate
...
security set anymore.
2000-08-06 18:10:48 +00:00
thorpej
4bfab7fc50
/var/krb5kdc -> /var/heimdal
2000-08-06 17:15:47 +00:00
nonaka
7a41932873
for make snapshot
2000-08-06 16:11:32 +00:00
thorpej
ac1bd4275a
Remove the (not supported) krbupdate service, and add (commented out)
...
kerberos-adm.
2000-08-05 00:48:15 +00:00
thorpej
75713daa92
Add ISAKMP.
2000-08-03 22:58:37 +00:00
kleink
a8c7e91153
As discussed with Hubert Feyrer in private mail, install UTC as the default
...
time zone; while amounting to the same offset, the time zone 'name' of
Factory violates the prinicple of least surprise.
2000-08-03 13:00:02 +00:00
hubertf
343777f0d3
Change default timezone from US/Pacific to Factory:
...
Before:
Wed Aug 2 06:53:04 PDT 2000
After:
Wed Aug 2 13:52:52 Local time zone must be set--see zic manual page 2000
2000-08-02 14:40:45 +00:00
itojun
e9b5e5d87c
fix comment on DAD wait
2000-08-02 13:59:11 +00:00
hubertf
dcefdf7722
Adjust comment to what's actually being done
2000-08-02 11:07:51 +00:00
itojun
8451f00774
we need to sleep for IPv6 DAD period, before and after rtsol.
...
(they are for stability in boot-time configuration)
comment from perry.
2000-08-01 20:49:11 +00:00
jwise
d6662ec62f
Change name of precmd from start_precmd to sshd_precmd. While it worked
...
fine as was, the result was the line `start_precmd=start_precmd' which
looked odd. Pointed out by Bernd Ernesti.
While here, add NetBSD RCS Id.
BTW, to clarify, as people have asked: this script does not support
pkgsrc/security/sshd -- that package comes with a perfectly fine rc script
which in addition to supporting /etc/rc.d can also be used with 1.4.X.
This script will not trivially work with the ssh package as it a.) calls
the ssh commands at the pathnames they will be installed at by usr.bin/ssh,
and b.) generates a DSA key as well as an RSA key.
2000-08-01 14:28:32 +00:00