From 0a61c9117f0796c317645f7f9e14f38652e51d67 Mon Sep 17 00:00:00 2001 From: Michael Gebetsroither Date: Tue, 17 Jan 2006 23:39:29 +0100 Subject: [PATCH] added isGrml() --- sh-lib | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 { -- 2.1.4