Index: /branches/releng-9.0/nanobsd/files/root/.cshrc
===================================================================
--- /branches/releng-9.0/nanobsd/files/root/.cshrc	(revision 10900)
+++ /branches/releng-9.0/nanobsd/files/root/.cshrc	(revision 10905)
@@ -1,3 +1,3 @@
-# $FreeBSD: release/9.0.0/share/skel/dot.cshrc 170119 2007-05-29 22:07:57Z dougb $
+# $FreeBSD: releng/9.0/etc/root/dot.cshrc 170088 2007-05-29 06:37:58Z dougb $
 #
 # .cshrc - csh resource script, read at beginning of execution by each shell
@@ -15,7 +15,7 @@
 umask 22
 
-set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
+set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin /tools)
 
-setenv	EDITOR	vi
+setenv	EDITOR	vim
 setenv	PAGER	more
 setenv	BLOCKSIZE	K
@@ -23,6 +23,7 @@
 if ($?prompt) then
 	# An interactive shell -- set some stuff up
- 	set filec
-        set histfile = /tmp/.history
+	set prompt = "`/bin/hostname -s`# "
+	set filec
+	set histfile = /tmp/.history
 	set history = 1000
 	set savehist = 1000
@@ -34,2 +35,23 @@
 	endif
 endif
+    
+if ($?prompt) then
+   # Display some tricks and pointers for management on login.
+   echo ""
+   echo "Statistics:"
+   echo " - Build "`grep 'Revision:' /tools/wl-release.txt`
+   echo " - Config "`grep Generated /usr/local/etc/wleiden.yaml | tr -d '#'`
+   setenv cs_conn `arp -na | grep -v -e ' 00:15:6d' -e 'incomplete' -e 'permanent' -e ' 00:0d:b9' | wc -l`
+   setenv cs_auth `pfctl -twlportal -Tshow | wc -l`
+   echo " - $cs_conn clients and $cs_auth authenticated"
+   echo " - "`uptime`
+   echo ""
+   echo "Active Bridges:"
+   arp -na | grep -e ' 00:15:6d' | sed -e 's/^/ - /' | grep ' ' || echo " - none"
+   echo ""
+   echo "Active Neighboors:"
+   arp -a | grep -v 'permanent' | grep ' 00:0d:b9' |\
+     sed -e 's/^/ - /' -e 's/.wleiden.net//' -e 's/expires .*$//' |\
+     grep ' ' || echo " - none"
+   echo ""
+endif
