1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

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
This commit is contained in:
roopa
2013-11-04 06:06:11 -08:00
commit a6f80f0e0b
22 changed files with 3099 additions and 0 deletions

20
debian/python-ifupdown2.postrm vendored Normal file
View File

@@ -0,0 +1,20 @@
#!/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