lsb-functions: removed get_libdir()
[grml-etc-core.git] / etc / grml / lsb-functions
index 768dcf5..cba2ad8 100644 (file)
@@ -204,19 +204,6 @@ get_bootconfig() {
     return 0
 }
 
-# void get_libdir(void)
-#
-#    prints the current libdir {lib,lib32,lib64}
-#
-get_libdir() {
-    if [ -n "${CONF_LIBDIR_OVERRIDE}" ] ; then
-        CONF_LIBDIR="${CONF_LIBDIR_OVERRIDE}"
-    elif [ -x "/usr/bin/portageq" ] ; then
-        CONF_LIBDIR="$(/usr/bin/portageq envvar CONF_LIBDIR)"
-    fi
-    printf '%s\n' ${CONF_LIBDIR:=lib}
-}
-
 # void esyslog(char* priority, char* tag, char* message)
 #
 #    use the system logger to log a message
@@ -486,17 +473,6 @@ add_suffix() {
     return 0
 }
 
-# bool is_vserver_sys()
-#
-#   return 0 if the currently running system is a Linux VServer
-#
-#   EXAMPLE:  if is_vserver_sys ; then ...
-#
-is_vserver_sys() {
-    grep -qs '^s_context:[[:space:]]*[1-9]' /proc/self/status
-    return $?
-}
-
 # bool get_mount_fstab(path)
 #
 #   return the parameters to pass to the mount command generated from fstab