Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Dec 2005 22:48:33 -0600
From:      Chris <racerx@makeworld.com>
To:        Jose Borquez <bsdlists@sbcglobal.net>
Cc:        FreeBSD Questions group <freebsd-questions@freebsd.org>, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: /etc/rc.conf: 18: Syntax error: Unterminated quoted string
Message-ID:  <43927521.1090801@makeworld.com>
In-Reply-To: <43927372.4010305@sbcglobal.net>
References:  <43925CEC.7000304@sbcglobal.net>	<20051204041654.GB1269@xor.obsecurity.org> <43927372.4010305@sbcglobal.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Jose Borquez wrote:
> Kris Kennaway wrote:
> 
>> On Sat, Dec 03, 2005 at 07:05:16PM -0800, Jose Borquez wrote:
>>  
>>
>>> I just recently did a make buildworld, make buildkernel, make install
>>> kernel, make installworld, and mergemaster in that order.  When I
>>> login as root I get the following email message:
>>>
>>> Subject: Cron <operator@daemon> /usr/libexec/save-entropy
>>> X-Cron-Env: <SHELL=/bin/sh>
>>> X-Cron-Env: <PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin>
>>> X-Cron-Env: <HOME=/>
>>> X-Cron-Env: <LOGNAME=operator>
>>> X-Cron-Env: <USER=operator>
>>>
>>> /etc/rc.conf: 18: Syntax error: Unterminated quoted string
>>>   
>>
>>
>> Are you sure this is your exact rc.conf, since it is not 18 lines
>> long?
>>
>> 1 > ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
>> 2 > moused_enable="YES"
>> 3 > moused_type="auto"
>> 4 > sshd_enable="YES"
>> 5 > usbd_enable="YES"
>> 6 > ntpd_enable="YES"
>> 7 > enable_quotas="YES"
>> 8 > check_quotas="NO"
>> 9 > clear_tmp_enable="YES"                  # YES has to be in capital
>> letters
>> 10 > ipfilter_enable="YES"                   # Start ipf firewall
>> 11 > ipfilter_rules="/etc/ipf.rules"         # loads rules definition
>> text file
>> 12 > ipmon_enable="YES"                      # Start IP monitor log
>> 13 > ipmon_flags="-Ds"                       # D = start as daemon
>>
>> Kris
>>  
>>
> Here are the entire contents of my rc.conf file:
> 
> # /sys/i386/conf >vi /etc/rc.conf
> 
> # -- sysinstall generated deltas -- # Thu Dec  1 13:50:25 2005
> # Created: Thu Dec  1 13:50:25 2005
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> defaultrouter="172.16.0.1"
> hostname="daemon"
> ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
> moused_enable="YES"
> moused_type="auto"
> sshd_enable="YES"
> usbd_enable="YES"
> ntpd_enable="YES"
> enable_quotas="YES"
> check_quotas="NO"
> clear_tmp_enable="YES"              # YES has to be in capital letters
> ipfilter_enable="YES"                   # Start ipf firewall
> ipfilter_rules="/etc/ipf.rules"           # loads rules definition text
> file
> ipmon_enable="YES"                   # Start IP monitor log
> ipmon_flags="-Ds"                       # D = start as daemon

The error is:
defaultrouter="172.16.0.1"

Remove the ""



-- 
Best regards,
Chris

A coup that is known in advance is a coup that does not
take place.



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