Add a sample NetworkManager hook script.

This commit is contained in:
Roy Marples 2008-06-04 16:36:12 +00:00
parent dc7fc61240
commit 1a68b1d47f

View File

@ -0,0 +1,7 @@
# Hook for NetworkManager, relies on D-Bus
if type dbus-send >/dev/null 2>&1; then
dbus-send --system --dest=com.redhat.dhcp \
--type=method_call /com/redhat/dhcp/"${interface}" \
com.redhat.dhcp.set 'string:'"`env`"
fi