mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
wpa_supplicant: Edit BINDIR in dbus and systemd service files
This is useful, since in Gentoo BINDIR=/usr/sbin.
This commit is contained in:
parent
2ecaec50c8
commit
f0573c7989
1
wpa_supplicant/.gitignore
vendored
Normal file
1
wpa_supplicant/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.service
|
@ -21,6 +21,14 @@ ifndef CONFIG_NO_WPA_PASSPHRASE
|
|||||||
ALL += wpa_passphrase
|
ALL += wpa_passphrase
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ALL += systemd/wpa_supplicant.service
|
||||||
|
ALL += systemd/wpa_supplicant@.service
|
||||||
|
ALL += systemd/wpa_supplicant-nl80211@.service
|
||||||
|
ALL += systemd/wpa_supplicant-wired@.service
|
||||||
|
ALL += dbus/fi.epitest.hostap.WPASupplicant.service
|
||||||
|
ALL += dbus/fi.w1.wpa_supplicant1.service
|
||||||
|
|
||||||
|
|
||||||
all: verify_config $(ALL) dynamic_eap_methods
|
all: verify_config $(ALL) dynamic_eap_methods
|
||||||
|
|
||||||
verify_config:
|
verify_config:
|
||||||
@ -1422,6 +1430,9 @@ eap_ikev2.so: ../src/eap_peer/eap_ikev2.c ../src/eap_peer/ikev2.c ../src/eap_com
|
|||||||
$(Q)$(CC) -c -o $@ $(CFLAGS) $<
|
$(Q)$(CC) -c -o $@ $(CFLAGS) $<
|
||||||
@$(E) " CC " $<
|
@$(E) " CC " $<
|
||||||
|
|
||||||
|
%.service: %.service.in
|
||||||
|
sed -e 's|\@BINDIR\@|$(BINDIR)|g' $< >$@
|
||||||
|
|
||||||
wpa_supplicant.exe: wpa_supplicant
|
wpa_supplicant.exe: wpa_supplicant
|
||||||
mv -f $< $@
|
mv -f $< $@
|
||||||
wpa_cli.exe: wpa_cli
|
wpa_cli.exe: wpa_cli
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[D-BUS Service]
|
[D-BUS Service]
|
||||||
Name=fi.epitest.hostap.WPASupplicant
|
Name=fi.epitest.hostap.WPASupplicant
|
||||||
Exec=/sbin/wpa_supplicant -u
|
Exec=@BINDIR@/wpa_supplicant -u
|
||||||
User=root
|
User=root
|
||||||
SystemdService=wpa_supplicant.service
|
SystemdService=wpa_supplicant.service
|
@ -1,5 +1,5 @@
|
|||||||
[D-BUS Service]
|
[D-BUS Service]
|
||||||
Name=fi.w1.wpa_supplicant1
|
Name=fi.w1.wpa_supplicant1
|
||||||
Exec=/sbin/wpa_supplicant -u
|
Exec=@BINDIR@/wpa_supplicant -u
|
||||||
User=root
|
User=root
|
||||||
SystemdService=wpa_supplicant.service
|
SystemdService=wpa_supplicant.service
|
@ -7,7 +7,7 @@ After=sys-subsystem-net-devices-%i.device
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-nl80211-%I.conf -Dnl80211 -i%I
|
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-nl80211-%I.conf -Dnl80211 -i%I
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Alias=network.target.wants/wpa_supplicant-nl80211@wlan0.service
|
Alias=network.target.wants/wpa_supplicant-nl80211@wlan0.service
|
@ -7,7 +7,7 @@ After=sys-subsystem-net-devices-%i.device
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-wired-%I.conf -Dwired -i%I
|
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-wired-%I.conf -Dwired -i%I
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Alias=network.target.wants/wpa_supplicant-wired@wlan0.service
|
Alias=network.target.wants/wpa_supplicant-wired@wlan0.service
|
@ -4,7 +4,7 @@ Description=WPA supplicant
|
|||||||
[Service]
|
[Service]
|
||||||
Type=dbus
|
Type=dbus
|
||||||
BusName=fi.epitest.hostap.WPASupplicant
|
BusName=fi.epitest.hostap.WPASupplicant
|
||||||
ExecStart=/sbin/wpa_supplicant -u
|
ExecStart=@BINDIR@/wpa_supplicant -u
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=network.target
|
WantedBy=network.target
|
@ -7,7 +7,7 @@ After=sys-subsystem-net-devices-%i.device
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I
|
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Alias=network.target.wants/wpa_supplicant@wlan0.service
|
Alias=network.target.wants/wpa_supplicant@wlan0.service
|
Loading…
Reference in New Issue
Block a user