sysinfo: list ethernet devices #l[0-3], fix spaces -> tabs

This commit is contained in:
cinap_lenrek 2013-02-16 03:52:33 +01:00
parent a8d97f31f6
commit 27a8b509c9

View file

@ -5,7 +5,6 @@ fn logprog{
echo % `{echo $"* | sed 's/#/''#''/g'}
$*
echo
}
fn work{
@ -28,11 +27,13 @@ fn work{
logprog cat '#S/sdctl'
for(i in '#S'/sd[A-Z][0-9]*/ctl)
logprog cat $i
for(i in '#l/ether'*){
for(i in '#l0/ether0' '#l1/ether1' '#l2/ether2' '#l3/ether3'){
if(test -e $i){
logprog cat $i/addr
logprog cat $i/stats
logprog cat $i/ifstats
}
}
logprog cat '#v/vgactl'
echo '@{rfork n; aux/realemu; aux/vga -p}'
@{rfork n; aux/realemu; aux/vga -p}