diff options
Diffstat (limited to 'PCBSD/pc-sysinstall/backend-query/.svn/text-base/detect-nics.sh.svn-base')
-rw-r--r-- | PCBSD/pc-sysinstall/backend-query/.svn/text-base/detect-nics.sh.svn-base | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/PCBSD/pc-sysinstall/backend-query/.svn/text-base/detect-nics.sh.svn-base b/PCBSD/pc-sysinstall/backend-query/.svn/text-base/detect-nics.sh.svn-base deleted file mode 100644 index ead211d..0000000 --- a/PCBSD/pc-sysinstall/backend-query/.svn/text-base/detect-nics.sh.svn-base +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -rm /tmp/netCards 2>/dev/null -touch /tmp/netCards - -config="`ifconfig -l`" - -for i in $config -do - echo "${i}" | grep -e "lo0" -e "^fwe" -e "^fwip" -e "lo1" -e "^plip" -e "^pfsync" -e "^pflog" -e "^tun" >/dev/null 2>/dev/null - if [ "$?" != "0" ] - then - IDENT="<`dmesg | grep ^${i} | grep -v "miibus" | grep '<' | cut -d '<' -f 2 | cut -d '>' -f 1 | head -1`>" - echo "${i}: $IDENT" - fi -done |