From: Frank Terbeck Date: Sun, 16 Sep 2007 10:51:48 +0000 (+0200) Subject: lsb-functions: removed KV_micro() X-Git-Tag: 0.3.27~21 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=57440c4894e44422cbf6705205205037ce4445ec lsb-functions: removed KV_micro() --- diff --git a/etc/grml/lsb-functions b/etc/grml/lsb-functions index 78ca22e..7cddf8d 100644 --- a/etc/grml/lsb-functions +++ b/etc/grml/lsb-functions @@ -451,18 +451,6 @@ veend() { return ${1:-0} } -# char *KV_micro(string) -# -# Return the Micro (Z of X.Y.Z) kernel version. -# -KV_micro() { - [ -z "$1" ] && return 1 - - local KV="$@" - KV="${KV#*.*.}" - printf "${KV%%[^[:digit:]]*}\n" -} - # int KV_to_int(string) # # Convert a string type kernel version (2.4.0) to an int (132096)