[type/__sysctl] Add NetBSD support

This commit is contained in:
Takashi Yoshi 2018-12-14 12:55:03 +01:00
parent b36716ef36
commit 566feba5b1
2 changed files with 7 additions and 2 deletions

View file

@ -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)

View file

@ -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)
:
;;
*)