Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
View | Details | Raw Unified | Return to bug 522206 | Differences between
and this patch

Collapse All | Expand All

(-)dhcpcd-hooks/99-openrc (+17 lines)
Line 0 Link Here
1
# OpenRC hook
2
3
: ${RC_SVCNAME:=dhcpcd}
4
5
do_rc_service()
6
{
7
	if [ "$RC_SVCNAME" ]; then
8
		IN_BACKGROUND=true /sbin/rc-service "$RC_SVCNAME" -- --quiet $@
9
	fi
10
}
11
12
if $if_oneup && $if_ipwaited; then
13
	# runscript needs to grow a --inactive command
14
	do_rc_service start
15
else
16
	do_rc_service --ifstarted stop
17
fi
(-)dhcpcd-hooks/Makefile (-1 / +1 lines)
Lines 5-11 Link Here
5
SCRIPTSDIR=	${LIBEXECDIR}/dhcpcd-hooks
5
SCRIPTSDIR=	${LIBEXECDIR}/dhcpcd-hooks
6
SCRIPTS=	01-test 02-dump
6
SCRIPTS=	01-test 02-dump
7
SCRIPTS+=	10-mtu 10-wpa_supplicant 15-timezone 20-resolv.conf
7
SCRIPTS+=	10-mtu 10-wpa_supplicant 15-timezone 20-resolv.conf
8
SCRIPTS+=	29-lookup-hostname 30-hostname
8
SCRIPTS+=	29-lookup-hostname 30-hostname 99-openrc
9
SCRIPTS+=	${HOOKSCRIPTS}
9
SCRIPTS+=	${HOOKSCRIPTS}
10
10
11
50-ypbind: 50-ypbind.in
11
50-ypbind: 50-ypbind.in

Return to bug 522206