Subject: misc/6469: rc.local typo
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dokas@cs.umn.edu>
List: netbsd-bugs
Date: 11/20/1998 09:08:54
>Number: 6469
>Category: misc
>Synopsis: rc.local typo
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 20 07:20:01 1998
>Last-Modified:
>Originator: Paul Dokas
>Organization:
Department of Computer Science, University of Minnesota
>Release: current as of Nov 20, 1998
>Environment:
System: NetBSD caligula 1.3H NetBSD 1.3H (FNORD) #16: Tue Nov 17 12:20:08 CST 1998 root@caligula:/usr/src/sys/arch/i386/compile/FNORD i386
>Description:
The rc.local script contains a small typo. Namely, if you uncomment the
sshd startup line, then sshd will not be started.
>How-To-Repeat:
Attempt to start sshd from rc.local by uncommenting the obvious lines.
>Fix:
Here's a diff against rc.local to fix the problem.
*** rc.local Fri Nov 20 09:03:43 1998
--- rc.local.orig Thu Nov 5 06:04:33 1998
***************
*** 11,17 ****
# add your local daemons here, following the startup models in /etc/rc
! #if [ -f /usr/pkg/etc/rc.d/sshd.sh ]; then
# /usr/pkg/etc/rc.d/sshd.sh
#fi
--- 11,17 ----
# add your local daemons here, following the startup models in /etc/rc
! #if [ -f /usr/pkg/etc/rc.d/sshd.sh]; then
# /usr/pkg/etc/rc.d/sshd.sh
#fi
>Audit-Trail:
>Unformatted: