Commit c9e87584 authored by nanahira's avatar nanahira

fix

parent 44b076dd
......@@ -6,6 +6,7 @@ set -x
$scriptRoot/pre-down.sh
if [[ -f "/run/dhclient.$INTERFACE.pid" ]]; then
kill $(cat /run/dhclient.$INTERFACE.pid)
rm /var/lib/dhcp/dhclient.$INTERFACE.leases
fi
ip link del dev $INTERFACE
$scriptRoot/post-down.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment