Subject: Re: starting package with /etc/rc.d
To: Iain Hibbert <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 11/23/2005 14:02:41
On Wed, 23 Nov 2005, Iain Hibbert wrote:

> -c specify a login class - I know nothing about this, and have no
> /etc/login.conf file, is that likely to be important? (how does that work?
> the man page seems to think it should have an argument, is that the shell
> command?)

Yes it is the shell command. -c with su if used after user name (nullmail) 
ends up being passed to the shell. So read the shell's man page for -c 
instead of su's man page.

I think the reason that the -x was ignored in your earlier test was 
because the sh-bang line was never used (see run_rc_script function in 

Maybe you need to add the -x to /etc/rc itself.

  Jeremy C. Reed

  	  	 	 BSD News, BSD tutorials, BSD links