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:
44dfd5a
)
lsb-functions: removed is_vserver_sys()
author
Frank Terbeck
<ft@grml.org>
Sun, 16 Sep 2007 11:06:22 +0000
(13:06 +0200)
committer
Frank Terbeck
<ft@grml.org>
Sun, 16 Sep 2007 11:06:22 +0000
(13:06 +0200)
etc/grml/lsb-functions
patch
|
blob
|
history
diff --git
a/etc/grml/lsb-functions
b/etc/grml/lsb-functions
index
768dcf5
..
42e89fb
100644
(file)
--- a/
etc/grml/lsb-functions
+++ b/
etc/grml/lsb-functions
@@
-486,17
+486,6
@@
add_suffix() {
return 0
}
-# bool is_vserver_sys()
-#
-# return 0 if the currently running system is a Linux VServer
-#
-# EXAMPLE: if is_vserver_sys ; then ...
-#
-is_vserver_sys() {
- grep -qs '^s_context:[[:space:]]*[1-9]' /proc/self/status
- return $?
-}
-
# bool get_mount_fstab(path)
#
# return the parameters to pass to the mount command generated from fstab