[type/__sysctl] Add OpenBSD support
This commit is contained in:
parent
183d57d6d2
commit
b36716ef36
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
#
|
#
|
||||||
# 2014 Steven Armstrong (steven-cdist at armstrong.cc)
|
# 2014 Steven Armstrong (steven-cdist at armstrong.cc)
|
||||||
|
# 2018 Takashi Yoshi (takashi at yoshi.email)
|
||||||
#
|
#
|
||||||
# This file is part of cdist.
|
# This file is part of cdist.
|
||||||
#
|
#
|
||||||
|
@ -31,7 +32,7 @@ case "$os" in
|
||||||
redhat|centos|ubuntu|debian|devuan|archlinux|coreos)
|
redhat|centos|ubuntu|debian|devuan|archlinux|coreos)
|
||||||
flag='-w'
|
flag='-w'
|
||||||
;;
|
;;
|
||||||
freebsd)
|
freebsd|openbsd)
|
||||||
flag=''
|
flag=''
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
#
|
#
|
||||||
# 2014 Steven Armstrong (steven-cdist at armstrong.cc)
|
# 2014 Steven Armstrong (steven-cdist at armstrong.cc)
|
||||||
|
# 2018 Takashi Yoshi (takashi at yoshi.email)
|
||||||
#
|
#
|
||||||
# This file is part of cdist.
|
# This file is part of cdist.
|
||||||
#
|
#
|
||||||
|
@ -22,7 +23,7 @@
|
||||||
os=$(cat "$__global/explorer/os")
|
os=$(cat "$__global/explorer/os")
|
||||||
|
|
||||||
case "$os" in
|
case "$os" in
|
||||||
redhat|centos|ubuntu|debian|devuan|archlinux|coreos|freebsd)
|
redhat|centos|ubuntu|debian|devuan|archlinux|coreos|freebsd|openbsd)
|
||||||
:
|
:
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue