From: Frank Terbeck Date: Sun, 16 Sep 2007 10:52:46 +0000 (+0200) Subject: lsb-functions: removed get_KV() X-Git-Tag: 0.3.27~19 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=45d8e206efcad56bb8e8324c81565b259ff80b1c;hp=e19bf541997e2181ee6cb3a458fa9138ebe9e2a3;p=grml-etc-core.git lsb-functions: removed get_KV() --- diff --git a/etc/grml/lsb-functions b/etc/grml/lsb-functions index 48a4604..d3c8c01 100644 --- a/etc/grml/lsb-functions +++ b/etc/grml/lsb-functions @@ -451,21 +451,6 @@ veend() { return ${1:-0} } -# int get_KV() -# -# Return the kernel version (major, minor and micro concated) as an integer. -# Assumes X and Y of X.Y.Z are numbers. Also assumes that some leading -# portion of Z is a number. -# e.g. 2.4.25, 2.6.10, 2.6.4-rc3, 2.2.40-poop, 2.0.15+foo -# -get_KV() { - local KV="$(uname -r)" - - printf "$(KV_to_int "${KV}")\n" - - return $? -} - # bool get_bootparam(param) # # return 0 if gentoo=param was passed to the kernel