[type/__sysctl] Add OpenBSD support

This commit is contained in:
Takashi Yoshi 2018-12-14 12:44:41 +01:00
parent 183d57d6d2
commit b36716ef36
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,7 @@
#!/bin/sh -e
#
# 2014 Steven Armstrong (steven-cdist at armstrong.cc)
# 2018 Takashi Yoshi (takashi at yoshi.email)
#
# This file is part of cdist.
#
@ -31,7 +32,7 @@ case "$os" in
redhat|centos|ubuntu|debian|devuan|archlinux|coreos)
flag='-w'
;;
freebsd)
freebsd|openbsd)
flag=''
;;
esac

View file

@ -1,6 +1,7 @@
#!/bin/sh -e
#
# 2014 Steven Armstrong (steven-cdist at armstrong.cc)
# 2018 Takashi Yoshi (takashi at yoshi.email)
#
# This file is part of cdist.
#
@ -22,7 +23,7 @@
os=$(cat "$__global/explorer/os")
case "$os" in
redhat|centos|ubuntu|debian|devuan|archlinux|coreos|freebsd)
redhat|centos|ubuntu|debian|devuan|archlinux|coreos|freebsd|openbsd)
:
;;
*)