git: 9front

Download patch

ref: f60f290b066b86358f3f55c9ebe31e77239e8c21
parent: 70cd3e5f64350d5eab6ab33ddbb8abcb770f1aa0
author: aiju <devnull@localhost>
date: Wed Oct 4 11:56:53 EDT 2017

check for fs= in netaudit

--- a/rc/bin/netaudit
+++ b/rc/bin/netaudit
@@ -64,6 +64,13 @@
 		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:'
--