mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 06:36:34 +00:00
wpa_supplicant: install basic configuration file
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
67202463b0
commit
ed3fb173be
6
package/wpa_supplicant/wpa_supplicant.conf
Executable file
6
package/wpa_supplicant/wpa_supplicant.conf
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
ctrl_interface=/var/run/wpa_supplicant
|
||||||
|
ap_scan=1
|
||||||
|
|
||||||
|
network={
|
||||||
|
key_mgmt=NONE
|
||||||
|
}
|
@ -118,10 +118,18 @@ ifeq ($(BR2_PACKAGE_DBUS),y)
|
|||||||
WPA_SUPPLICANT_POST_INSTALL_TARGET_HOOKS += WPA_SUPPLICANT_INSTALL_DBUS
|
WPA_SUPPLICANT_POST_INSTALL_TARGET_HOOKS += WPA_SUPPLICANT_INSTALL_DBUS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
define WPA_SUPPLICANT_INSTALL_CONFIG
|
||||||
|
$(INSTALL) -m 644 \
|
||||||
|
package/wpa_supplicant/wpa_supplicant.conf $(TARGET_DIR)/etc/wpa_supplicant.conf
|
||||||
|
endef
|
||||||
|
|
||||||
|
WPA_SUPPLICANT_POST_INSTALL_TARGET_HOOKS += WPA_SUPPLICANT_INSTALL_CONFIG
|
||||||
|
|
||||||
define WPA_SUPPLICANT_UNINSTALL_TARGET_CMDS
|
define WPA_SUPPLICANT_UNINSTALL_TARGET_CMDS
|
||||||
rm -f $(addprefix $(TARGET_DIR)/usr/sbin/, $(WPA_SUPPLICANT_TARGET_BINS))
|
rm -f $(addprefix $(TARGET_DIR)/usr/sbin/, $(WPA_SUPPLICANT_TARGET_BINS))
|
||||||
rm -f $(TARGET_DIR)/etc/dbus-1/system.d/wpa_supplicant.conf
|
rm -f $(TARGET_DIR)/etc/dbus-1/system.d/wpa_supplicant.conf
|
||||||
rm -f $(TARGET_DIR)/usr/share/dbus-1/system-services/$(WPA_SUPPLICANT_DBUS_SERVICE).service
|
rm -f $(TARGET_DIR)/usr/share/dbus-1/system-services/$(WPA_SUPPLICANT_DBUS_SERVICE).service
|
||||||
|
rm -f $(TARGET_DIR)/usr/etc/wpa_supplicant.conf
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call AUTOTARGETS))
|
$(eval $(call AUTOTARGETS))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user