[type/__sysctl] Group entries
This commit is contained in:
parent
92610fe76c
commit
9acb9d1f3a
1 changed files with 20 additions and 12 deletions
|
@ -29,18 +29,26 @@ fi
|
||||||
|
|
||||||
os=$(cat "$__global/explorer/os")
|
os=$(cat "$__global/explorer/os")
|
||||||
case "$os" in
|
case "$os" in
|
||||||
redhat|centos|ubuntu|debian|devuan|alpine|archlinux|gentoo|openwrt|coreos|netbsd)
|
# Linux
|
||||||
flag='-w'
|
redhat|centos|ubuntu|debian|devuan|archlinux|gentoo|coreos)
|
||||||
;;
|
flag='-w'
|
||||||
macosx)
|
;;
|
||||||
# NOTE: Older versions of Mac OS X require the -w option.
|
# BusyBox
|
||||||
# Even though the flag is not mentioned in new man pages anymore,
|
alpine|openwrt)
|
||||||
# it still works.
|
flag='-w'
|
||||||
flag='-w'
|
;;
|
||||||
;;
|
macosx)
|
||||||
freebsd|openbsd)
|
# NOTE: Older versions of Mac OS X require the -w option.
|
||||||
flag=''
|
# Even though the flag is not mentioned in new man pages anymore,
|
||||||
;;
|
# it still works.
|
||||||
|
flag='-w'
|
||||||
|
;;
|
||||||
|
netbsd)
|
||||||
|
flag='-w'
|
||||||
|
;;
|
||||||
|
freebsd|openbsd)
|
||||||
|
flag=''
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# set the current runtime value
|
# set the current runtime value
|
||||||
|
|
Loading…
Reference in a new issue