From 51da953e4903ea9b870bd6e9e99367b061d2b1fa Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 24 Jun 2011 15:25:11 +0200 Subject: [PATCH] detect pre-os in explorer Signed-off-by: Nico Schottelius --- conf/explorer/os | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conf/explorer/os b/conf/explorer/os index 6684ff78..e922c067 100755 --- a/conf/explorer/os +++ b/conf/explorer/os @@ -65,6 +65,11 @@ if [ -f /etc/SuSE-release ]; then exit 0 fi +if [ -f /etc/cdist-preos ]; then + echo preos + exit 0 +fi + uname_s="$(uname -s)" # Assume there is no tr on the client -> do lower case ourselves