wpa_supplicant: make service/conf also set CONF_FILE.

This commit is contained in:
Juan RP 2016-05-08 15:52:59 +02:00
parent 7fc2dee5a0
commit c1477cf325
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#!/bin/sh
[ -r ./conf ] && . ./conf
exec 2>&1
exec wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i ${WPA_INTERFACE:=wlan0} ${OPTS:=-s}
exec wpa_supplicant -c ${CONF_FILE:=/etc/wpa_supplicant/wpa_supplicant.conf} -i ${WPA_INTERFACE:=wlan0} ${OPTS:=-s}

View file

@ -1,7 +1,7 @@
# Template file for 'wpa_supplicant'
pkgname=wpa_supplicant
version=2.5
revision=5
revision=6
build_wrksrc=$pkgname
short_desc="WPA/WPA2/IEEE 802.1X Supplicant"
maintainer="Juan RP <xtraeme@voidlinux.eu>"