#!/bin/sh ## Script is sourced from dhclient-script. ## $reason and $new_ip_address are set there. if [ "X$reason" = "XBOUND" ]; then echo $new_ip_address > ~adamm/.current_inet_addr fi