dhcpcd: make wpa_supplicant log to syslog rather than stdout.
This commit is contained in:
parent
f7543fb5b6
commit
9a8e357625
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dhcpcd'
|
# Template file for 'dhcpcd'
|
||||||
pkgname=dhcpcd
|
pkgname=dhcpcd
|
||||||
version=6.6.0
|
version=6.6.0
|
||||||
revision=1
|
revision=2
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_options="systemd"
|
build_options="systemd"
|
||||||
build_style=configure
|
build_style=configure
|
||||||
|
@ -16,6 +16,10 @@ homepage="http://roy.marples.name/projects/dhcpcd"
|
||||||
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-$version.tar.bz2"
|
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-$version.tar.bz2"
|
||||||
checksum=16b94272cbb9ca22cb74c4421ee745f56850121613f6256587adb4e988c17fd0
|
checksum=16b94272cbb9ca22cb74c4421ee745f56850121613f6256587adb4e988c17fd0
|
||||||
|
|
||||||
|
pre_install() {
|
||||||
|
# make wpa_supplicant log to syslog rather than stdout
|
||||||
|
sed -i 's,-B,& -s,' dhcpcd-hooks/10-wpa_supplicant
|
||||||
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
if [ "$build_option_systemd" ]; then
|
if [ "$build_option_systemd" ]; then
|
||||||
vinstall ${FILESDIR}/dhcpcd.service 644 usr/lib/systemd/system
|
vinstall ${FILESDIR}/dhcpcd.service 644 usr/lib/systemd/system
|
||||||
|
|
Loading…
Reference in New Issue