tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

rc.d $name vs. script name



According to rc.subr(8), name is "The name of this script".
Additionally, several ${name}_foo variables are used.

I'm writing a rc.d script for cups-browsed. The natural name of the script 
would be "cups-browsed". Obviously, $name can't be "cups-browsed".

Shall I
	a) call the script that starts cups-browsed "cups_browsed"
or
	b) call the script "cups-browsed" and set name="cups_browsed"
?


Home | Main Index | Thread Index | Old Index