[UCLA-LUG] rc.local

Dan Helfman witten@linux.ucla.edu
Mon, 17 Jul 2000 20:04:32 -0700


On Mon, Jul 17, 2000 at 03:48:56PM -0700, Taison Tan wrote:
> 
> I have xntpd and want the daemon to start up when I boot the computer. So
> I edited the /etc/rc.d/rc.local file to contain the line:
> 
> /etc/rc.d/init.d/xntpd start  
> 
> However, this doesn't seem to start the daemon when the computer reboots.
> Do I need quotes or something?

What you have above sounds like it should work. But if you can't figure out
what's wrong, there's another option: Use redhat's runlevel editor (e.g. in
linuxconf) to enable or disable xntpd in your current runlevel. If your
machine starts up at the console only, you're in runlevel 3. If your machine
goes into X after boot, then you're in runlevel 5.

> 
> Taison

-- 
Dan Helfman
UCLA Linux Users Group: http://www.linux.ucla.edu
My GnuPG key: http://torsion.org/witten/public-key.txt