Subject: Re: environment variables with dashes? (for ez-ipupdate package)
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 06/15/2005 17:51:40
On Thu, 16 Jun 2005, Geert Hendrickx wrote:

> I'm creating a package for ez-ipupdate, a client for dynamic DNS
> services such as dyndns et al.
> I have a problem with the rc.d script ez-ipupdate that I wrote for it.
> Environment variables apparently may not contain dashes:
> > ez-ipupdate=YES: not found
> How should I name my script then?  ezipupdate, ez_ipupdate or something
> like that may confuse the user, as the package and the binary are called
> ez-ipupdate.

I think using an underscore is fine for the rcvar, such as:


For example, see the rcvar for /etc/rc.d/cleartmp, /etc/rc.d/motd,
/etc/rc.d/nfsd on NetBSD. And pkgsrc/wip/isc-dhcpd packages has:
isc_dhclient and isc_dhcpd.

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links