[packages] coova-chilli: refresh patch as well
[openwrt/svn-archive/archive.git] / net / coova-chilli / patches / 001-readd-macauth.patch
1 --- a/conf/functions.in
2 +++ b/conf/functions.in
3 @@ -164,6 +164,7 @@
4 if [ "$HS_RADCONF" != "on" -a "$HS_RADCONF" != "url" ]; then
5 [ "$HS_PAP_OK" = "on" ] && addconfig2 "papalwaysok"
6 [ "$HS_MACAUTH" = "on" ] && addconfig2 "macauth"
7 + [ "$HS_MACAUTH" = "on" -a -n "$HS_MACPASSWD" ] && addconfig2 "macpasswd $HS_MACPASSWD"
8 [ "$HS_MACREAUTH" = "on" ] && addconfig2 "macreauth"
9 [ "$HS_MACAUTHDENY" = "on" ] && addconfig2 "macauthdeny"
10 [ "$HS_WPAGUESTS" = "on" ] && addconfig2 "wpaguests"