summaryrefslogtreecommitdiff
path: root/rc/bin/netaudit
diff options
context:
space:
mode:
Diffstat (limited to 'rc/bin/netaudit')
-rwxr-xr-xrc/bin/netaudit7
1 files changed, 7 insertions, 0 deletions
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:'