Changed files:
dhcp_probe.init -> 1.3
dhcp_probe.spec -> 1.7
msg_stopping "dhcp_probe on $nic"
killproc --pidfile /var/run/dhcp_probe.$nic.pid dhcp_probe
done
+ # kill leftovers if an interface was removed from $INTERFACES
+ for file in /var/run/dhcp_probe*pid ; do
+ nic=${file##/var/run/dhcp_probe.}
+ nic=${nic%%pid}
+ [ -z "$nic" ] && nic="unknown interface"
+ msg_stopping "dhcp_probe on $nic"
+ killproc --pidfile $file dhcp_probe
+ done
rm -f /var/lock/subsys/dhcp_probe >/dev/null 2>&1
}
Summary: Tool for discovering DHCP and BootP servers
Name: dhcp_probe
Version: 1.3.0
-Release: 0.6
+Release: 0.7
License: GPLv2+ and MIT
Group: Applications
Source0: http://www.net.princeton.edu/software/dhcp_probe/%{name}-%{version}.tar.gz