From b9335bb7ce221abf09cc96951edd3ae2587d8ae9 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 27 Sep 2011 10:35:25 +0200 Subject: [PATCH] update os/os_version explorer to support owl (openwall linux) Signed-off-by: Nico Schottelius --- conf/explorer/os | 2 +- conf/explorer/os_version | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/conf/explorer/os b/conf/explorer/os index 3e1582ec..e59301e7 100755 --- a/conf/explorer/os +++ b/conf/explorer/os @@ -65,7 +65,7 @@ if [ -f /etc/SuSE-release ]; then exit 0 fi -if uname -r | grep -s '.owl' >/dev/null 2>&1; then +if [ -f /etc/owl-release ]; then echo owl exit 0 fi diff --git a/conf/explorer/os_version b/conf/explorer/os_version index 08fda60b..ef80e8fc 100755 --- a/conf/explorer/os_version +++ b/conf/explorer/os_version @@ -42,6 +42,9 @@ case "$($__explorer/os)" in *bsd|solaris) uname -r ;; + owl) + cat /etc/owl-release + ;; redhat|centos) cat /etc/redhat-release ;;