From 45d8e206efcad56bb8e8324c81565b259ff80b1c Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Sun, 16 Sep 2007 12:52:46 +0200 Subject: [PATCH 1/1] lsb-functions: removed get_KV() --- etc/grml/lsb-functions | 15 --------------- 1 file changed, 15 deletions(-) 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 -- 2.1.4