dhcpcd: enable wpa_supplicant hook by default
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'dhcpcd'
|
# Template file for 'dhcpcd'
|
||||||
pkgname=dhcpcd
|
pkgname=dhcpcd
|
||||||
version=6.11.5
|
version=6.11.5
|
||||||
revision=3
|
revision=4
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --rundir=/run"
|
configure_args="--prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --rundir=/run"
|
||||||
@@ -24,4 +24,5 @@ post_install() {
|
|||||||
vsv dhcpcd-eth0
|
vsv dhcpcd-eth0
|
||||||
# Enable controlgroup by default, to make dhcpcd-ui work.
|
# Enable controlgroup by default, to make dhcpcd-ui work.
|
||||||
sed -i 's,^#\(controlgroup.*\),\1,' ${DESTDIR}/etc/dhcpcd.conf
|
sed -i 's,^#\(controlgroup.*\),\1,' ${DESTDIR}/etc/dhcpcd.conf
|
||||||
|
ln -sf /usr/share/dhcpcd/hooks/10-wpa_supplicant ${DESTDIR}/usr/libexec/dhcpcd-hooks/
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user