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" ?