#!/bin/bash

### Include ymclibnettools
. /usr/lib/lib-fliwi/ymc-networktools.bash

if [ -z "$IFACE" ]; then
  ### We do not want to break networking in this script...
  echo "W: Can not setup routing for undefined interface..." 1>&2
  exit 0
fi

if [ -f "/etc/sysctl.d/fliwi-sane-virtual-ips-$IFACE.conf" ]; then
  ### Drop generated ARP-settings for the interface...
  rm -f /etc/sysctl.d/fliwi-sane-virtual-ips-$IFACE.conf
fi

exit 0
