Files
CumulusNetworks-ifupdown2/debian/python-ifupdown2.postrm
T
roopa a6f80f0e0b python-ifupdown initial checkin
Ticket: CM-1438
Reviewed By: TBD
Testing Done:

- Will checkin build files after some more testing and performance
  numbers. It will go into the testing repo for 2.0

- All TODO items are part of the checked in TODO file
2013-11-04 06:06:11 -08:00

21 lines
389 B
Bash

#!/bin/sh
set -e
case "$1" in
purge)
# Note: We don't remove /etc/network/interfaces
rm -f /etc/network/run/ifstate
if [ -L /etc/network/run ] ; then
rm -f /etc/network/run
elif [ -d /etc/network/run ] ; then
rmdir --ignore-fail-on-non-empty /etc/network/run
fi
;;
esac
if [ "$1" = "purge" ] ; then
update-rc.d networking remove >/dev/null
fi