1 --- dhcp-3.0.3/client/scripts/linux.orig 2006-02-08 23:30:26.277493500 +0100
2 +++ dhcp-3.0.3/client/scripts/linux 2006-02-08 23:32:49.746459750 +0100
4 # 4. TIMEOUT not tested. ping has a flag I don't know, and I'm suspicious
5 # of the $1 in its args.
7 +if [ -n "${dhc_dbus}" ]; then
8 + if [ -x /usr/bin/dbus-send ]; then
11 + --dest=com.redhat.dhcp \
12 + --type=method_call \
13 + /com/redhat/dhcp/$interface \
14 + com.redhat.dhcp.set \
15 + 'string:'"`env | /bin/egrep -v '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`";
17 + if (( ( dhc_dbus & 31 ) == 31 )); then
24 if [ "x$new_domain_name" != x ] && [ x"$new_domain_name_servers" != x ]; then
25 echo search $new_domain_name >/etc/resolv.conf