update os/os_version explorer to support owl (openwall linux)

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-09-27 10:35:25 +02:00
parent 4879f744c1
commit b9335bb7ce
2 changed files with 4 additions and 1 deletions

View file

@ -65,7 +65,7 @@ if [ -f /etc/SuSE-release ]; then
exit 0 exit 0
fi fi
if uname -r | grep -s '.owl' >/dev/null 2>&1; then if [ -f /etc/owl-release ]; then
echo owl echo owl
exit 0 exit 0
fi fi

View file

@ -42,6 +42,9 @@ case "$($__explorer/os)" in
*bsd|solaris) *bsd|solaris)
uname -r uname -r
;; ;;
owl)
cat /etc/owl-release
;;
redhat|centos) redhat|centos)
cat /etc/redhat-release cat /etc/redhat-release
;; ;;