[type/__sysctl] Add NetBSD support
This commit is contained in:
parent
b36716ef36
commit
566feba5b1
2 changed files with 7 additions and 2 deletions
|
@ -29,7 +29,7 @@ fi
|
|||
|
||||
os=$(cat "$__global/explorer/os")
|
||||
case "$os" in
|
||||
redhat|centos|ubuntu|debian|devuan|archlinux|coreos)
|
||||
redhat|centos|ubuntu|debian|devuan|archlinux|coreos|netbsd)
|
||||
flag='-w'
|
||||
;;
|
||||
freebsd|openbsd)
|
||||
|
|
|
@ -23,7 +23,12 @@
|
|||
os=$(cat "$__global/explorer/os")
|
||||
|
||||
case "$os" in
|
||||
redhat|centos|ubuntu|debian|devuan|archlinux|coreos|freebsd|openbsd)
|
||||
# Linux
|
||||
redhat|centos|ubuntu|debian|devuan|archlinux|coreos)
|
||||
:
|
||||
;;
|
||||
# BSD
|
||||
freebsd|netbsd|openbsd)
|
||||
:
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in a new issue