as a workaround, send the lan ip address as primary dns to chillispot clients (fixes...
authorFelix Fietkau <nbd@openwrt.org>
Fri, 29 Sep 2006 20:35:45 +0000 (20:35 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 29 Sep 2006 20:35:45 +0000 (20:35 +0000)
SVN-Revision: 4878

openwrt/package/chillispot/files/chillispot.init

index 289b1fe8a5519e693f9591ced17853fa452121c0..2034f1a1817ced589a7ebf3f31cd0f1765108755 100644 (file)
@@ -7,7 +7,7 @@ case $1 in
  start)
   /sbin/insmod tun >/dev/null 2>&1
   [ -d $RUN_D ] || mkdir -p $RUN_D
-  /usr/sbin/chilli
+  /usr/sbin/chilli --dns1="$(nvram get lan_ipaddr)"
   ;;
  stop)
   [ -f $PID_F ] && kill $(cat $PID_F) >/dev/null 2>&1