Antoine writes: > What about this? > + [[ "${_svc}" == +([_/+[:alnum:]]) ]] || return
That doesn't fix the problem. You cannot use plus signs or slashes in a service name because the options to a service are set in rc.conf.local with the line foo_flags="" where `foo' is replaced by the service name. The ksh man page states that only letters, numbers, and underscores can be used in variable names. Ludovic writes: > If people are using daemon named like fastcgi.exemple.com, this will > break there config. They cannot use that name anyway, for the same reason listed above. Service names are already restricted to letters, digits, and underscores. The only thing we can do here is validate user input to the rcctl command. Anthony