From 0bc1e30ccf48fadc7b21424404093ce75b43481f Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 13 Jul 2024 23:44:46 +0800
Subject: [PATCH] PATCH:IGKBoard-IMX6ULL: Update linux kernel patch for USB to serial and ppp driver

---
 yocto/meta-igkboard/recipes-misc/wpa-conf/files/wpa-conf.service |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/yocto/meta-igkboard/recipes-misc/wpa-conf/files/wpa-conf.service b/yocto/meta-igkboard/recipes-misc/wpa-conf/files/wpa-conf.service
index bb68ca2..34bc0ca 100644
--- a/yocto/meta-igkboard/recipes-misc/wpa-conf/files/wpa-conf.service
+++ b/yocto/meta-igkboard/recipes-misc/wpa-conf/files/wpa-conf.service
@@ -1,15 +1,11 @@
 [Unit]
-Description=Copy user wpa_supplicant.conf
-ConditionPathExists=/run/media/boot-mmcblk0p1/wpa_supplicant.conf
-After=getty.target
+Description=Enable wpa_supplicant service
+Requires=sys-subsystem-net-devices-wlan0.device
 
 [Service]
 Type=oneshot
 RemainAfterExit=yes
-ExecStartPre=/bin/mkdir -p /etc/wpa_supplicant/
-ExecStart=/bin/mv /run/media/boot-mmcblk0p1/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
-ExecStartPost=/bin/chmod 600 /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
-ExecStartPost=/bin/sh -c "systemctl enable --now wpa_supplicant@wlan0"
+ExecStart=/bin/sh -c "systemctl enable --now wpa_supplicant@wlan0"
 
 [Install]
 WantedBy=multi-user.target

--
Gitblit v1.9.1