wpa_supplicant: fix sed expression in previous.
This commit is contained in:
parent
7085a69a57
commit
e47e610dab
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'wpa_supplicant'
|
# Template file for 'wpa_supplicant'
|
||||||
pkgname=wpa_supplicant
|
pkgname=wpa_supplicant
|
||||||
version=2.1
|
version=2.1
|
||||||
revision=4
|
revision=5
|
||||||
build_wrksrc=$pkgname
|
build_wrksrc=$pkgname
|
||||||
short_desc="WPA/WPA2/IEEE 802.1X Supplicant"
|
short_desc="WPA/WPA2/IEEE 802.1X Supplicant"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -50,5 +50,5 @@ do_install() {
|
||||||
sed -e 's,wpa_supplicant@wlan0.service,wpa_supplicant@%i.service,' -i \
|
sed -e 's,wpa_supplicant@wlan0.service,wpa_supplicant@%i.service,' -i \
|
||||||
${DESTDIR}/usr/lib/systemd/system/wpa_supplicant@.service
|
${DESTDIR}/usr/lib/systemd/system/wpa_supplicant@.service
|
||||||
# Make wpa_supplicant@.service also work for wext (nl80211 is the default).
|
# Make wpa_supplicant@.service also work for wext (nl80211 is the default).
|
||||||
sed -e 's,-i%I,& -Dnl80211,wext' -i ${DESTDIR}/usr/lib/systemd/system/wpa_supplicant@.service
|
sed -e 's|-i%I|& -Dnl80211,wext|' -i ${DESTDIR}/usr/lib/systemd/system/wpa_supplicant@.service
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue