mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-06 08:49:45 +01:00
This Fixes #258 - Checks if /dev/fd is mounted on FreeBSD
This commit is contained in:
parent
aed0a8475a
commit
946506f3ac
@ -6643,6 +6643,13 @@ openssl_age() {
|
|||||||
outln
|
outln
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bsd-bash() {
|
||||||
|
if [[ $(uname) -eq "FreeBSD" ]] && [[ $(count_lines "$(ls /dev/fd)") -le 3 ]]; then
|
||||||
|
echo "You need to mount fdescfs on FreeBSD: mount -t fdescfs fdesc /dev/fd"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
help() {
|
help() {
|
||||||
cat << EOF
|
cat << EOF
|
||||||
@ -8091,6 +8098,7 @@ maketempf
|
|||||||
mybanner
|
mybanner
|
||||||
check_proxy
|
check_proxy
|
||||||
openssl_age
|
openssl_age
|
||||||
|
bsd-bash
|
||||||
|
|
||||||
# TODO: it is ugly to have those two vars here --> main()
|
# TODO: it is ugly to have those two vars here --> main()
|
||||||
ret=0
|
ret=0
|
||||||
|
Loading…
Reference in New Issue
Block a user