]> git.pld-linux.org Git - packages/dhcp.git/blame - dhcp-client-script-redhat.patch
- patch no-ipv6 - don't require ipv6 support in kernel
[packages/dhcp.git] / dhcp-client-script-redhat.patch
CommitLineData
e1d26541
JR
1--- dhcp-3.1.0a3/client/scripts/linux.orig 2007-04-16 17:29:17.000000000 +0200
2+++ dhcp-3.1.0a3/client/scripts/linux 2007-04-16 18:04:52.000000000 +0200
3@@ -65,6 +65,20 @@
4 exit $exit_status
5 }
b5e633b9 6
e1d26541
JR
7+if [ -n "$dhc_dbus" -a -x /usr/bin/dbus-send ]; then
8+ /usr/bin/dbus-send \
9+ --system \
10+ --dest=com.redhat.dhcp \
11+ --type=method_call \
12+ /com/redhat/dhcp/$interface \
13+ com.redhat.dhcp.set \
14+ 'string:'"$(unset PATH SHLVL _ PWD dhc_dbus ; env)"
b5e633b9 15+
e1d26541
JR
16+ if [ $(($dhc_dbus & 31)) -eq 31 ]; then
17+ exit 0
18+ fi
19+fi
b5e633b9 20+
e1d26541
JR
21 # Invoke the local dhcp client enter hooks, if they exist.
22 if [ -f /etc/dhclient-enter-hooks ]; then
23 exit_status=0
This page took 0.03667 seconds and 4 git commands to generate.