X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=sh-lib;fp=sh-lib;h=51c2e792149b9b662823520c670e10dc31b8c589;hb=0a61c9117f0796c317645f7f9e14f38652e51d67;hp=9896f71c44b1c4046ccc4b808c89a8e7d61eaa65;hpb=d26437c14538af2c8af01b43b6f3e61c236bc380;p=grml-shlib.git diff --git a/sh-lib b/sh-lib index 9896f71..51c2e79 100644 --- 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 {