# Find the basename of the first parameter (the daemon's name without the
# path that was provided so /usr/sbin/syslogd becomes plain 'syslogd' after
# basename ran).
# Find the basename of the first parameter (the daemon's name without the
# path that was provided so /usr/sbin/syslogd becomes plain 'syslogd' after
# basename ran).