From: Frank Terbeck Date: Sun, 16 Sep 2007 12:13:39 +0000 (+0200) Subject: lsb-functions: removed add_suffix() X-Git-Tag: 0.3.27~5 X-Git-Url: https://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=dbcc99bcf584cec903ab729534d1434d021d4e5e lsb-functions: removed add_suffix() --- 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