95c0350540
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19817 3c298f89-4303-0410-b956-a3cf2f4a3e73
11 lines
514 B
Diff
11 lines
514 B
Diff
--- a/conf/functions.in
|
|
+++ b/conf/functions.in
|
|
@@ -173,6 +173,7 @@ writeconfig() {
|
|
if [ "$HS_RADCONF" != "on" -a "$HS_RADCONF" != "url" ]; then
|
|
[ "$HS_PAP_OK" = "on" ] && addconfig2 "papalwaysok"
|
|
[ "$HS_MACAUTH" = "on" ] && addconfig2 "macauth"
|
|
+ [ "$HS_MACAUTH" = "on" -a -n "$HS_MACPASSWD" ] && addconfig2 "macpasswd $HS_MACPASSWD"
|
|
[ "$HS_MACREAUTH" = "on" ] && addconfig2 "macreauth"
|
|
[ "$HS_MACAUTHDENY" = "on" ] && addconfig2 "macauthdeny"
|
|
[ "$HS_WPAGUESTS" = "on" ] && addconfig2 "wpaguests"
|