Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2001 17:55:19 +0800
From:      "KurtChen" <kurt@dv8.com.tw>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   question about rc.conf
Message-ID:  <00ca01c11ff0$3c19f230$b4a449d3@kurtchen>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_00C7_01C12033.49E945D0
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

hello!!
   i had config my rc.conf file.
   cause i write a config in it .
  =20
 /bin/sh -c 'cd /usr/local/apache/bin ;./apachectl start
 =20
   but when i reboot , it monitor =20

"
 /etc/rc,conf : 16 : syntex error : unterminated quoted string
 enter full pathname of shell for /bin/sh :
"

i press enter, i can use some command.but i cannot edit the rc.conf =
file.
it say the rc.conf is a read only file.so how can i fix this.

thanks ...

kurt chen
kurt@dv8.com.tw

------=_NextPart_000_00C7_01C12033.49E945D0
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dbig5" http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DMingLiu size=3D2>
<DIV><FONT face=3DMingLiu size=3D2>hello!!</FONT></DIV>
<DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>&nbsp;&nbsp; i had config =
my rc.conf=20
file.</FONT></DIV>
<DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>&nbsp;&nbsp; cause i write =
a config in it=20
.</FONT></DIV>
<DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>&nbsp;<FONT =
face=3DMingLiu>/bin/sh -c 'cd=20
/usr/local/apache/bin ;./apachectl start</FONT></FONT></DIV>
<DIV><FONT face=3DMingLiu size=3D2>&nbsp;&nbsp;</FONT></DIV>
<DIV><FONT face=3DMingLiu size=3D2>&nbsp;&nbsp; but whe<FONT =
face=3DMingLiu>n i reboot=20
, it monitor &nbsp;</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>"</FONT></DIV>
<DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>&nbsp;/etc/rc,conf : 16 : =
syntex error : unterminated=20
quoted string</FONT></DIV>
<DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>&nbsp;enter full pathname =
of shell for /bin/sh=20
:</FONT></DIV>
<DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>i press enter, i can use =
some command.but i cannot=20
edit the rc.conf file.</FONT></DIV>
<DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>it say the rc.conf is a =
read only file.so how can i=20
fix this.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>thanks ...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>kurt chen</FONT></DIV>
<DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2><A=20
href=3D"mailto:kurt@dv8.com.tw">kurt@dv8.com.tw</A></FONT></DIV></FONT></=
DIV></BODY></HTML>

------=_NextPart_000_00C7_01C12033.49E945D0--



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00ca01c11ff0$3c19f230$b4a449d3>