Public feed #600327

Stuff

public text v1 · immutable
Raw Edit
·published 2007-07-02 19:27 UTC
rendered paste body
Index: 20-broadcom_wds
===================================================================
--- 20-broadcom_wds     (revision 7848)
+++ 20-broadcom_wds     (working copy)
@@ -17,10 +17,19 @@

                config_get addr "$CONFIG_SECTION" bssid
                [ "$addr" = "$remote" ] && {
+                       local cfg="$CONFIG_SECTION"
+
                        include /lib/network
                        scan_interfaces

                        setup_interface "$iface" "$network"
+
+                       config_get encryption "$cfg" encryption
+                       config_get key "$cfg" key
+                       config_get ssid "$cfg" ssid
+
+                       [ "$encryption" == "psk" ] && \
+                       nas4not lan "$iface" up auto aes "$encryption" "$key" "$ssid"
                }
        }