X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Flsb-functions;h=cba2ad829f32dc8d835b158fc2a7fd057e765552;hb=dbaff94a20f3c2e2a50753b0a3e9e5ba6d5d5fdc;hp=768dcf5e70a0b646fae162d7f0c4aae875dbf06f;hpb=44dfd5a5bbbc40a4c1acb8a0b7ad451a01f3e3da;p=grml-etc-core.git diff --git a/etc/grml/lsb-functions b/etc/grml/lsb-functions index 768dcf5..cba2ad8 100644 --- a/etc/grml/lsb-functions +++ b/etc/grml/lsb-functions @@ -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