wpa_supplicant: add DRIVER option to runit service

This commit is contained in:
Matthias Totschnig 2020-04-14 12:19:22 +02:00 committed by Helmut Pozimski
parent feb2afa833
commit cd7afeba43
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
if [ -r ./conf ]; then if [ -r ./conf ]; then
. ./conf . ./conf
: ${OPTS:=-M -c ${CONF_FILE:-/etc/wpa_supplicant/wpa_supplicant.conf} ${WPA_INTERFACE:+-i ${WPA_INTERFACE}} -s} : ${OPTS:=-M -c ${CONF_FILE:-/etc/wpa_supplicant/wpa_supplicant.conf} ${WPA_INTERFACE:+-i ${WPA_INTERFACE}} ${DRIVER:+-D ${DRIVER}} -s}
else else
. ./auto . ./auto
OPTS="${AUTO} -s" OPTS="${AUTO} -s"

View file

@ -1,7 +1,7 @@
# Template file for 'wpa_supplicant' # Template file for 'wpa_supplicant'
pkgname=wpa_supplicant pkgname=wpa_supplicant
version=2.9 version=2.9
revision=1 revision=2
build_wrksrc="$pkgname" build_wrksrc="$pkgname"
short_desc="WPA/WPA2/IEEE 802.1X Supplicant" short_desc="WPA/WPA2/IEEE 802.1X Supplicant"
maintainer="Enno Boland <gottox@voidlinux.org>" maintainer="Enno Boland <gottox@voidlinux.org>"