From: Martin Langhoff <[EMAIL PROTECTED]>

I had dropped the ethernet detection. Oops.
---
 ds_backup.sh |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ds_backup.sh b/ds_backup.sh
index e654adb..884e48d 100755
--- a/ds_backup.sh
+++ b/ds_backup.sh
@@ -22,6 +22,14 @@
 ## (cannibalised from olpc-netstatus)
 ##
 function skip_noschoolnet {
+
+    #ethernet
+    ethernet=''
+    for i in `ifconfig|grep HWaddr|awk '{print $1}'`
+    do
+        iwconfig $i 2>&1|grep "no wireless" > /dev/null && ethernet="$i 
$ethernet"
+    done
+
     eth=''
     msh=''
     ipeth=''
-- 
1.5.4.34.g053d9

_______________________________________________
Server-devel mailing list
[email protected]
http://lists.laptop.org/listinfo/server-devel

Reply via email to