explorer/os: add support for *bsd

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.0
Nico Schottelius 14 years ago
parent 14e7427508
commit e896fc6d4e
  1. 16
      conf/explorer/os

@ -53,10 +53,24 @@ if [ -f /etc/SuSE-release ]; then
exit 0
fi
case "$(uname -s)" in
uname_s="$(uname -s)"
# Assume there is no tr on the client -> do lower case ourselves
case "$uname_s" in
Darwin)
echo macosx
exit 0
NetBSD)
echo netbsd
exit 0
;;
FreeBSD)
echo freebsd
exit 0
;;
OpenBSD)
echo openbsd
exit 0
;;
esac

Loading…
Cancel
Save