Commit Graph

2062 Commits

Author SHA1 Message Date
tv 6a7dd372b3 Do what we should have been doing long ago; use /dev/console by default as the
boot console tty, so that the console is on the same place that the kernel
dmesg output goes, whether wscons or serial.  Users who want to use tty00
or ttyE0 explicitly can change /etc/ttys themselves.

Also use "vt100" as terminal type for /dev/console (for a reasonable baseline
that also works with wscons; pccons is long since no longer default).

This addresses PR install/13249, i386-specific, but may be appropriate to
apply to all ports.
2001-06-19 20:06:46 +00:00
lukem 684e89f355 use mktemp(1) to create temporary directories, and ensure that cleanup traps
are setup asap.
2001-06-18 10:54:02 +00:00
lukem 50aa483991 Improve run_rc_script():
- Skip files that end with `~', `#', `.OLD' or `.orig', as these are usually
  scratch or backup files created by programs, and we don't want to start them.
- Only try and run non `.sh' files if they're executable.

Per discussions with Andrew Brown, and closing his PR [bin/9981].
2001-06-18 06:53:45 +00:00
lukem f27a0c8f42 Now that "fsck -p" skips file systems that are mounted read-write,
always perform the disk check (unless /fastboot exists).  Previously
this would only occur when booting directly to multi-user, so the
fsck wouldn't happen after a single user boot going into multi-user.
2001-06-18 06:42:35 +00:00
jdolecek e3dc57afeb Make also ed1 for 'all', create ed0, ed1 for 'floppy' 2001-06-17 11:48:09 +00:00
lukem d7d9b87b1c Complain if $amd_master is set. This variable was used in 1.5 and prior
releases, but has been ignored since an am-utils update six months ago.
This fixes [misc/11971] submitted by Jun-ichiro itojun Hagino.  (Note that
$amd_flags is still supported, contrary to what the PR says).
2001-06-17 01:05:40 +00:00
lukem 919eb089e2 change mountd to use its own $mountd variable (instead of $nfs_server).
nfsd will complain if mountd isn't set.  from [misc/13135] by Johnny C. Lam.
2001-06-16 06:13:09 +00:00
lukem 586521f84e - Implement an optional global watchdog timeout for rc.shutdown, which is
enabled by setting $rcshutdown_timeout to a number of seconds to wait for
  before terminating rc.shutdown.  This is disabled by default.
- Use symbolic names rather than numbers when defining a trap.
- Improve some comments.
2001-06-16 04:09:19 +00:00
lukem bd7fad6c47 use symbolic signal names instead of numbers 2001-06-14 07:50:06 +00:00
simonb a0a111aa26 Add support files for the Walnut. 2001-06-13 15:13:24 +00:00
simonb d201b0b96b Add support files for the Walnut. 2001-06-13 14:53:29 +00:00
chris ecc1e181a0 Checking support for fcom to arm32 MAKEDEV, fixes pr 11076. 2001-06-10 22:07:23 +00:00
chris 68536ce2c4 Fix arm32 MAKEDEV, the script for handling ttyv had a typo. 2001-06-10 22:05:44 +00:00
kim a81dea8eca Remove duplicate usr/share/man/cat8/news68k added in revision 1.159... 2001-06-08 21:16:15 +00:00
kim 8966f5524c not usr/share/man/cat8/new68k but usr/share/man/cat8/news68k 2001-06-08 21:13:23 +00:00
tron a35d0a5c89 Add missign directory "./usr/share/man/cat8/news68k". 2001-06-08 16:45:37 +00:00
wiz 5fc8a3a2c4 Remove empty sections (confuse MAKEDEV2manpage) 2001-06-08 14:43:20 +00:00
wiz cffe2f2fdb Add some more arch-specific man8/cat8 subdirs. 2001-06-08 14:24:44 +00:00
wiz ed9cc9d27c scsi(4), not scsi(8) 2001-06-08 14:17:41 +00:00
rafal c9d0f70329 Fix typoe in Jason's last change. 2001-06-08 01:34:36 +00:00
thorpej 17207724f6 Update the console entries for new tty names. 2001-06-07 20:16:55 +00:00
thorpej 082e7c8634 Change the serial port entries to ttyC? ("com") and ttyZ? ("zstty"). 2001-06-07 20:05:13 +00:00
briggs 07afe48412 Add template fstabs for NFS and scsi disk. 2001-06-07 16:47:12 +00:00
tshiozak 4ce7dc7d21 add a new IANA-registered port, SSTP. (a well-known P2P protocol in Japan.) 2001-06-01 16:04:32 +00:00
he 47ae105daa Add Makefile snippets to install netboot in installation/netboot
under ``make release''.
2001-05-28 18:21:12 +00:00
kleink 6ad0537dc7 Look after /etc/primes. 2001-05-28 14:08:50 +00:00
wiz 5362253979 Add /usr/share/man/{cat,man}8/dreamcast 2001-05-27 21:15:59 +00:00
wiz b294089309 Add comment about how to generate MAKEDEV.8, and remove empty call units
section in comment (since MAKEDEV2manpage.pl expects at least one entry
per section).
2001-05-27 21:13:50 +00:00
bjh21 c3f879b368 Add sd* and cd*. 2001-05-27 12:33:59 +00:00
itojun 2160ac71db install /etc/primes for ssh 2001-05-26 23:27:13 +00:00
marcus 9e4abc4202 Added target to make maple direct access device nodes. 2001-05-26 19:06:09 +00:00
fredette 1e6d1f7076 sunndd has been renamed ndbootd. 2001-05-23 20:29:14 +00:00
fredette b934309492 sunndd has been renamed to ndbootd. 2001-05-22 14:51:37 +00:00
enami 281a201c49 Install the file sunndd. 2001-05-21 11:09:09 +00:00
fredette 20b5680c6f Added sun2 etc files. 2001-05-18 00:13:27 +00:00
fredette bc14be100e Added rc.d support for sunndd. 2001-05-17 23:19:06 +00:00
wiz ce7170d77d Remove bpp before re-creating it. port-sparc64/12934 by John Heasley. 2001-05-14 09:11:10 +00:00
atatat 6534ee3cfb When backing files listed in /etc/changelist, instead of truncating
to the basename of the file, use the whole path with $backup_dir
prepended, in effect mirrorring the directory tree.  This eliminates
the possibility of a name collision.

Closes pr bin/12727.
2001-05-10 14:19:27 +00:00
atatat 4e1cbd39fe Allow embedded hyphens in user names (and group names), just not as the
first or last character.
2001-05-10 14:10:15 +00:00
atatat 87c8919798 When using rcs to track backups, force the rcs archive to be unlocked,
use only non-strict locking, and leave the archives unlocked after
checking in changes.
2001-05-10 14:04:22 +00:00
lukem 54ef4cb4dc remove the special case for ttyv0 (which was actually ttyqf renamed), per
discussion with matt thomas. (now the vax has 16 more ptys to use!  :)
2001-05-10 01:31:40 +00:00
lukem 7fd298e837 remove all reference to ttyv* to pccons, since the kernels for these ports
don't implement a character device at the referenced major number (12).
2001-05-10 01:29:57 +00:00
lukem ae5b452628 remove pcvt references.
don't allow pty6 (ttyv*) to be created; conflicts with pccons ttyv0.
2001-05-10 01:05:47 +00:00
lukem 702f01cdba remove references to pcvt 2001-05-10 01:04:39 +00:00
lukem 4a8c7c2fed don't prevent pty6 from creating ttyv*, since there's no custom console on ttyv 2001-05-10 01:03:03 +00:00
lukem b3a31a74db remove ttyv* entries as pcvt was removed and there's already wscons entries here 2001-05-10 01:01:42 +00:00
lukem 28d6dbb5f3 explicitly set the umask to 022 to be safe 2001-05-09 16:53:45 +00:00
lukem 4c9bb3bc3f * change wait_for_pids() to spin forever (rather than just ~ 65 seconds).
* change the default `stop' case to wait_for_pids after kill $sig_stop.
  this means that "/etc/rc.d/foo stop" won't return until the service
  has shut down. third party scripts that implement their own stop mechanism
  should offer this functionality as well.
* in the default restart case, don't bother doing `$0 poll' in between
  stop & start, because of the change above. (XXX: deprecate poll ?)
2001-05-09 16:40:59 +00:00
lukem ab72f65dcd Don't try and use single quotes in the RHS of a ${ :+ } expansion
because /bin/sh needs a different syntax than ksh (and bash, etc).
Use a more obvious and less error prone method. (This complicated
use of ${:+} was only used to build the su command when running as
a separate user, but could always cause problems.)
Problem noted by Hubert Feyrer in conjunction with /etc/rc.d/sshd.
2001-05-07 07:07:11 +00:00
wiz d768fd88a7 Enable logging options for (commented out) uucpd and fingerd by default.
Addresses misc/10219 by Jim Bernard.
2001-05-06 12:08:57 +00:00