- Timestamp:
- May 19, 2012, 4:45:09 PM (13 years ago)
- Location:
- branches/releng-9.0/nanobsd/files
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-9.0/nanobsd/files/root/.cshrc
r10905 r10918 37 37 38 38 if ($?prompt) then 39 # Display some tricks and pointers for management on login. 40 echo "" 41 echo "Statistics:" 42 echo " - Build "`grep 'Revision:' /tools/wl-release.txt` 43 echo " - Config "`grep Generated /usr/local/etc/wleiden.yaml | tr -d '#'` 44 setenv cs_conn `arp -na | grep -v -e ' 00:15:6d' -e 'incomplete' -e 'permanent' -e ' 00:0d:b9' | wc -l` 45 setenv cs_auth `pfctl -twlportal -Tshow | wc -l` 46 echo " - $cs_conn clients and $cs_auth authenticated" 47 echo " - "`uptime` 48 echo "" 49 echo "Active Bridges:" 50 arp -na | grep -e ' 00:15:6d' | sed -e 's/^/ - /' | grep ' ' || echo " - none" 51 echo "" 52 echo "Active Neighboors:" 53 arp -a | grep -v 'permanent' | grep ' 00:0d:b9' |\ 54 sed -e 's/^/ - /' -e 's/.wleiden.net//' -e 's/expires .*$//' |\ 55 grep ' ' || echo " - none" 56 echo "" 39 [ -x /etc/motd.cshrc ] && source /etc/motd.cshrc 57 40 endif
Note:
See TracChangeset
for help on using the changeset viewer.