[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

DHCP Clients/server and Debians IPMasq package



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.



Reply to: