Subject: Re: mk/install/usergroup and FreeBSD and DragonFly
To: Roland Illig <roland.illig@gmx.de>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 09/07/2005 11:07:22
On Wed, 7 Sep 2005, Roland Illig wrote:

>> An untested idea for NetBSD:
>> 
>> # useradd user group descr home shell [userid]
>> USERADD_FUNCTION= \
>> useradd()
>> {
> ...
>
> I would prefer saving the useradd() functions in separate files. This keeps 
> them more readable when being integrated into the +USERGROUP script.

I think the idea is to just put the shell function definition in 
mk/platform/${OPSYS}.mk. It could fit on one long line or on a few 
continued lines.

  Jeremy C. Reed

  	  	 	 BSD News, BSD tutorials, BSD links
 	  	 	 http://www.bsdnewsletter.com/