Browse Source

Remove hack now that iniread returns correct code

Alois Mahdal 10 years ago
parent
commit
c5e74fc641
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      bin/eeiam.in

+ 1
- 1
bin/eeiam.in View File

@@ -51,7 +51,7 @@ where_i_am() {
51 51
     #
52 52
     if=$(iniread -p iam.using.if iam.ini)
53 53
     gwmac=$(arp | grep "^gateway\\>.*\\<$if\$" | tr ' ' '\n' | grep :)
54
-    iniread -p iam.seeing.gw.$gwmac iam.ini | grep . || echo OUT
54
+    iniread -p iam.seeing.gw.$gwmac iam.ini || echo OUT
55 55
 }
56 56
 
57 57