projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf6aac3
)
lsb-functions: removed KV_micro()
author
Frank Terbeck
<ft@grml.org>
Sun, 16 Sep 2007 10:51:48 +0000
(12:51 +0200)
committer
Frank Terbeck
<ft@grml.org>
Sun, 16 Sep 2007 10:51:48 +0000
(12:51 +0200)
etc/grml/lsb-functions
patch
|
blob
|
history
diff --git
a/etc/grml/lsb-functions
b/etc/grml/lsb-functions
index
78ca22e
..
7cddf8d
100644
(file)
--- 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)