2010-02-03 22:07:50 +00:00
|
|
|
--- a/conf/functions.in
|
|
|
|
+++ b/conf/functions.in
|
2010-02-03 22:18:32 +00:00
|
|
|
@@ -164,6 +164,7 @@
|
|
|
|
if [ "$HS_RADCONF" != "on" -a "$HS_RADCONF" != "url" ]; then
|
2010-02-03 22:07:50 +00:00
|
|
|
[ "$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"
|