package/wpa_supplicant: adapt to systemctl preset-all
All services were installed but not enabled. This change enables the non-templated service but disables the templated ones. Enabling the templates creates weird links which are probably an upstream bug. Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
eb075916f4
commit
c27708e148
4
package/wpa_supplicant/50-wpa_supplicant.preset
Normal file
4
package/wpa_supplicant/50-wpa_supplicant.preset
Normal file
@ -0,0 +1,4 @@
|
||||
disable wpa_supplicant@.service
|
||||
disable wpa_supplicant-nl80211@.service
|
||||
disable wpa_supplicant-wired@.service
|
||||
|
@ -227,6 +227,8 @@ define WPA_SUPPLICANT_INSTALL_INIT_SYSTEMD
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant-nl80211@.service
|
||||
$(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant-wired@.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant-wired@.service
|
||||
$(INSTALL) -D -m 644 $(WPA_SUPPLICANT_PKGDIR)/50-wpa_supplicant.preset \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system-preset/50-wpa_supplicant.preset
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
Loading…
Reference in New Issue
Block a user