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

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/feature_files_export
Nico Schottelius 14 years ago
parent 4879f744c1
commit b9335bb7ce
  1. 2
      conf/explorer/os
  2. 3
      conf/explorer/os_version

@ -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

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

Loading…
Cancel
Save