Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2007 08:51:41 +0000
From:      "Joseph Koshy" <joseph.koshy@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: /etc/rc.conf not getting parsed ...
Message-ID:  <84dead720704300151r2eeff43x3dcc7b7d01e6cad2@mail.gmail.com>
In-Reply-To: <20070430084003.GA1716@obelix.dsto.defence.gov.au>
References:  <20070430084003.GA1716@obelix.dsto.defence.gov.au>

next in thread | previous in thread | raw e-mail | index | archive | help
wa> None of my services are being started from /etc/rc.conf. I am manually
wa> having to start them. Can anyone please suggest how to debug why this
wa> has just started to occur ?

Use the "-x" option supported by "/bin/sh" to debug.  E.g.,

  # sh -x /etc/rc.d/lpd start
  ... lots of output elided ...
  + checkyesno lpd_enable
  + eval _value=$lpd_enable
  + _value=NO
  + debug checkyesno: lpd_enable is set to NO.
  + return 1
  + return 0

-- 
FreeBSD Volunteer,     http://people.freebsd.org/~jkoshy



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