Skip site navigation (1)Skip section navigation (2)
Date:      9 Oct 1998 15:19:49 -0000
From:      Jos.Backus@nl.origin-it.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/8231: /etc/rc contains a dangerous typo.
Message-ID:  <19981009151949.9079.qmail@hal.mpn.cp.philips.com>

next in thread | raw e-mail | index | archive | help

>Number:         8231
>Category:       bin
>Synopsis:       /etc/rc will not be executed properly
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct  9 08:20:01 PDT 1998
>Last-Modified:
>Originator:     Jos Backus
>Organization:
Origin B.V.
>Release:        FreeBSD 3.0-BETA i386
>Environment:

	-current as of 1998/10/08

>Description:

	/etc/rc starts with a single quote (') character, probably a result of
	a typing glitch (I know, I have a keyboard that makes me do that
	occasionally).

>How-To-Repeat:

	cp -p /usr/src/etc /etc/rc
	reboot
	# watch the screen!

>Fix:
	
	s%'#!/bin/sh%#!/bin/sh%

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981009151949.9079.qmail>