From 99700fb02476489385f54ff281b623a4d86c4ab0 Mon Sep 17 00:00:00 2001 From: aiju Date: Wed, 4 Oct 2017 15:56:53 +0000 Subject: [PATCH] check for fs= in netaudit --- rc/bin/netaudit | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rc/bin/netaudit b/rc/bin/netaudit index 921efa9c2..c7423a86b 100755 --- a/rc/bin/netaudit +++ b/rc/bin/netaudit @@ -64,6 +64,13 @@ fn checknet { authok=1 echo ' auth='$auth 'looks ok' } + fs=`{ndb/ipquery sys $sysname fs | sed 's/^fs=//'} + if(~ $fs '') + echo ' no fs= entry (needed for tls boot)' + if not if(! ip/ping -n 1 $fs >/dev/null >[2=1]) + echo ' fs='$fs 'does not reply to ping (needed for tls boot)' + if not + echo ' fs='$fs 'looks ok' } fn checkauth { echo 'checking auth server configuration:'