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:
e19bf54
)
lsb-functions: removed get_KV()
author
Frank Terbeck
<ft@grml.org>
Sun, 16 Sep 2007 10:52:46 +0000
(12:52 +0200)
committer
Frank Terbeck
<ft@grml.org>
Sun, 16 Sep 2007 10:52:46 +0000
(12:52 +0200)
etc/grml/lsb-functions
patch
|
blob
|
history
diff --git
a/etc/grml/lsb-functions
b/etc/grml/lsb-functions
index
48a4604
..
d3c8c01
100644
(file)
--- a/
etc/grml/lsb-functions
+++ b/
etc/grml/lsb-functions
@@
-451,21
+451,6
@@
veend() {
return ${1:-0}
}
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
# bool get_bootparam(param)
#
# return 0 if gentoo=param was passed to the kernel