From dbcc99bcf584cec903ab729534d1434d021d4e5e Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Sun, 16 Sep 2007 14:13:39 +0200 Subject: [PATCH] lsb-functions: removed add_suffix() --- etc/grml/lsb-functions | 15 --------------- 1 file changed, 15 deletions(-) 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 -- 2.1.4