projects
/
grml-shlib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d26437c
)
added isGrml()
1.02.07
author
Michael Gebetsroither
<michael.geb@gmx.at>
Tue, 17 Jan 2006 22:39:29 +0000
(23:39 +0100)
committer
Michael Gebetsroither
<michael.geb@gmx.at>
Tue, 17 Jan 2006 22:39:29 +0000
(23:39 +0100)
sh-lib
patch
|
blob
|
history
diff --git
a/sh-lib
b/sh-lib
index
9896f71
..
51c2e79
100644
(file)
--- a/
sh-lib
+++ b/
sh-lib
@@
-306,6
+306,16
@@
function checkRoot
checkId 0 "$1" "$2"
}
+function isGrml
+{
+ if [ -f /etc/grml_version ] ; then
+ dprint "isGrml(): this seems to be a grml system"
+ return 0
+ else
+ dprint "isGrml(): this is not a grml system"
+ return 1
+ fi
+}
function runsFromHd
{