coova-chilli: Fix UCI parse error
authorRajan Vaja <redacted>
Wed, 6 Jul 2016 13:29:18 +0000 (18:59 +0530)
committerRajan Vaja <redacted>
Mon, 11 Jul 2016 06:29:39 +0000 (11:59 +0530)
UCI commands report errors in parsing coova-chilli
sample configuration file. Fix this issue by using
proper format in configuration.

Signed-off-by: Rajan Vaja <redacted>
net/coova-chilli/Makefile
net/coova-chilli/files/chilli.config

index b8acf5426fc139a82205667e369494cae1b11920..eea40d0a3f39b36d537432907e9afbc9da445df0 100644 (file)
@@ -12,7 +12,7 @@ PKG_VERSION:=1.3.0+20141128
 PKG_MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
 PKG_LICENSE:=GPL-2.0+
 PKG_LICENSE_FILES:=COPYING
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=git://github.com/coova/coova-chilli
index ab8ca1f0e1f769f3597a33d0d932ff245efe3de4..4c037c62da3ba5a27a85c9c20fc68b5c36d07feb 100644 (file)
@@ -89,13 +89,13 @@ config chilli
 
     # IP address of radius server 1
     # For most installations you need to modify this option.
-    radiusserver1 rad01.chillispot.org
+    option radiusserver1 rad01.chillispot.org
 
     # IP address of radius server 2
     # If you have only one radius server you should set radiusserver2 to the
     # same value as radiusserver1.
     # For most installations you need to modify this option.
-    radiusserver2 rad02.chillispot.org
+    option radiusserver2 rad02.chillispot.org
 
     # Radius authentication port
     # The UDP port number to use for radius authentication requests.
@@ -154,7 +154,7 @@ config chilli
     # Ethernet interface to listen to.
     # This is the network interface which is connected to the access points.
     # In a typical configuration this option should be set to eth1.
-    dhcpif eth1
+    option dhcpif eth1
 
     # Use specified MAC address.
     # An address in the range  00:00:5E:00:02:00 - 00:00:5E:FF:FF:FF falls
@@ -171,7 +171,7 @@ config chilli
     # Universal access method (UAM) parameters
 
     # URL of web server handling authentication.
-    uamserver https://radius.chillispot.org/hotspotlogin
+    option uamserver https://radius.chillispot.org/hotspotlogin
 
     # URL of welcome homepage.
     # Unauthenticated users will be redirected to this URL. If not specified
git clone https://git.99rst.org/PROJECT