/usr/sbin/ipwatchd-script is in ipwatchd 1.2.1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #!/bin/sh
# This user-defined script is called by IPwatchD daemon when IP conflict occurs.
# Feel free to modify it to suit your needs.
# Name of network device in conflict
DEVICE=$1
# IP address in conflict
IP=$2
# MAC address of conflicting system
MAC=$3
# Run notification tool for Gnome environment
if [ -x /usr/sbin/ipwatchd-gnotify ]; then
/usr/sbin/ipwatchd-gnotify \
--broadcast \
--title "IP conflict occured" \
--message "MAC address $MAC causes IP conflict with address $IP set on interface $DEVICE"
fi
exit 0
|