From 1977e3539f5da5910038ad87715fade3ed05c7cb Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 14 Dec 2021 11:58:36 +0100 Subject: [PATCH] Revert "firmware: work around FreeBSD 13 faulty validation" This reverts commit d7d69895cd8672379a634488fb116e1a0bbbeaa6. Was properly solved in stable/22.1. --- src/opnsense/scripts/firmware/connection.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/opnsense/scripts/firmware/connection.sh b/src/opnsense/scripts/firmware/connection.sh index 51d1b0b19..c4781b16e 100755 --- a/src/opnsense/scripts/firmware/connection.sh +++ b/src/opnsense/scripts/firmware/connection.sh @@ -39,12 +39,12 @@ echo "***GOT REQUEST TO AUDIT CONNECTIVITY***" >> ${LOCKFILE} echo "Currently running $(opnsense-version) at $(date)" >> ${LOCKFILE} echo "Checking connectivity for host: ${HOST}" | ${TEE} ${LOCKFILE} if [ -n "${IPV4}" -a -z "${IPV4%%*.*}" ]; then - (ping -c 4 ${IPV4} 2>&1) | ${TEE} ${LOCKFILE} + (ping -c4 ${IPV4} 2>&1) | ${TEE} ${LOCKFILE} else echo "No IPv4 address could be found." | ${TEE} ${LOCKFILE} fi if [ -n "${IPV6}" -a -z "${IPV6%%*:*}" ]; then - (ping6 -c 4 ${IPV6} 2>&1) | ${TEE} ${LOCKFILE} + (ping6 -c4 ${IPV6} 2>&1) | ${TEE} ${LOCKFILE} else echo "No IPv6 address could be found." | ${TEE} ${LOCKFILE} fi