With thanks to Pedro and Terry /etc/dhclient-exit-hooks
#!/bin/bash
if [ "$old_ip_address" ]; then
if ! [ "$old_ip_address" = "$new_ip_address" ]; then
. /etc/init.d/ipmasq restart
fi
fi
Simon.
With thanks to Pedro and Terry /etc/dhclient-exit-hooks
#!/bin/bash
if [ "$old_ip_address" ]; then
if ! [ "$old_ip_address" = "$new_ip_address" ]; then
. /etc/init.d/ipmasq restart
fi
fi
Simon.