|
|
|
@ -29,7 +29,12 @@ fi |
|
|
|
|
|
|
|
|
|
os=$(cat "$__global/explorer/os") |
|
|
|
|
case "$os" in |
|
|
|
|
redhat|centos|ubuntu|debian|devuan|alpine|archlinux|gentoo|openwrt|coreos|netbsd) |
|
|
|
|
# Linux |
|
|
|
|
redhat|centos|ubuntu|debian|devuan|archlinux|gentoo|coreos) |
|
|
|
|
flag='-w' |
|
|
|
|
;; |
|
|
|
|
# BusyBox |
|
|
|
|
alpine|openwrt) |
|
|
|
|
flag='-w' |
|
|
|
|
;; |
|
|
|
|
macosx) |
|
|
|
@ -38,6 +43,9 @@ case "$os" in |
|
|
|
|
# it still works. |
|
|
|
|
flag='-w' |
|
|
|
|
;; |
|
|
|
|
netbsd) |
|
|
|
|
flag='-w' |
|
|
|
|
;; |
|
|
|
|
freebsd|openbsd) |
|
|
|
|
flag='' |
|
|
|
|
;; |
|
|
|
|