Subject: Re: rc.d/* help - writing my own script
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: netbsd-help
Date: 02/03/2006 16:31:30
Hi,

Jukka Salmi --> netbsd-help (2006-02-03 16:04:48 +0100):
> Jan Danielsson --> netbsd-help (2006-02-03 15:23:40 +0100):
> > Jukka Salmi wrote:
> > > To start the script in the background, set
> > > 
> > > 	command_args='&'
> > > 
> > > in your rc script.
> > 
> > Hmm... That doesn't seem to help. Is there something more I need to do?
> 
> No, I don't think so. I don't have Python installed, but testing with
> a shell script and command_interpreter='/bin/sh' works fine here...
> 
> What does `head -1 /usr/local/bin/pflogger.py' print?

Additionally, you could append `-x' to the first line of your pflogger
rc script (i.e. make it read `#!/bin/sh -x') and send me the output
you get when you invoke it with the `start' argument...


Cheers, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~