Changé retour de chariot
[hvlinux.git] / stage2 / pkg / wpa_supplicant
index e404fae..69c8331 100644 (file)
@@ -29,3 +29,18 @@ EOF
     install -m 644 doc/docbook/*8 /usr/man/man8
     install -m 644 doc/docbook/wpa_supplicant.conf.5 /usr/man/man5
 }
+
+hvbuild_post()
+{
+    # Create default wpa configuration file
+    cat > /etc/wpa_supplicant.conf << EOF
+ctrl_interface=/var/run/wpa_supplicant
+
+network={
+  ssid="insert your SSID here"
+  scan_ssid=1
+  key_mgmt=WPA-PSK
+  psk="insert your password here"
+}
+EOF
+}