summaryrefslogtreecommitdiff
path: root/rc/bin/netaudit
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2017-10-04 15:56:53 +0000
committeraiju <devnull@localhost>2017-10-04 15:56:53 +0000
commit99700fb02476489385f54ff281b623a4d86c4ab0 (patch)
treeb41d78af7097b61f6dbd44e3119ffadccec6e304 /rc/bin/netaudit
parentd5576d84733a92fd4237da0ba871c6efe8e7a3c6 (diff)
downloadplan9front-99700fb02476489385f54ff281b623a4d86c4ab0.tar.xz
check for fs= in netaudit
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:'