X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Flsb-functions;h=ac20e6e325b7ce520816ddb88a208589870769a3;hb=8a5c5bfc49b435d904beb4c043ad56db77f739c7;hp=d772ea06deec027b871a1217a1e7859b85a64e00;hpb=f5b996ec4d80add3c921e213a2a75ae8f6f7d346;p=grml-etc-core.git diff --git a/etc/grml/lsb-functions b/etc/grml/lsb-functions index d772ea0..ac20e6e 100644 --- a/etc/grml/lsb-functions +++ b/etc/grml/lsb-functions @@ -368,21 +368,6 @@ ewend() { return $retval } -# char *add_suffix(char * configfile) -# -# Returns a config file name with the softlevel suffix -# appended to it. For use with multi-config services. -add_suffix() { - if [ "${RC_USE_CONFIG_PROFILE}" = "yes" -a -e "$1.${DEFAULTLEVEL}" ] - then - printf "$1.${DEFAULTLEVEL}\n" - else - printf "$1\n" - fi - - return 0 -} - # Setup a basic $PATH. Just add system default to existing. # This should solve both /sbin and /usr/sbin not present when # doing 'su -c foo', or for something like: PATH= rcscript start