forked from ungleich-public/cdist
explorer/os: add support for *bsd
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
14e7427508
commit
e896fc6d4e
1 changed files with 15 additions and 1 deletions
|
@ -53,10 +53,24 @@ if [ -f /etc/SuSE-release ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
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)
|
Darwin)
|
||||||
echo macosx
|
echo macosx
|
||||||
exit 0
|
exit 0
|
||||||
|
NetBSD)
|
||||||
|
echo netbsd
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
FreeBSD)
|
||||||
|
echo freebsd
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
OpenBSD)
|
||||||
|
echo openbsd
|
||||||
|
exit 0
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue