home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / etc / dhcp3 / dhclient-exit-hooks.d / zzzz_dhcdbd < prev   
Encoding:
Text File  |  2007-03-05  |  333 b   |  12 lines

  1. # if we are called by dhcdbd, push the information acquired by dhclient back to dhcdbd
  2. if [ -n "${dhc_dbus}" ]; then
  3.         /usr/bin/dbus-send \
  4.         --system \
  5.         --dest=com.redhat.dhcp \
  6.         --type=method_call \
  7.         /com/redhat/dhcp/$interface \
  8.         com.redhat.dhcp.set \
  9.         'string:'"`env | /bin/egrep -v '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`";
  10. fi;
  11.  
  12.