summaryrefslogtreecommitdiff
path: root/debian/openvswitch-switch.postrm
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2009-12-15 13:11:24 -0800
committerBen Pfaff <blp@nicira.com>2009-12-15 13:12:00 -0800
commitb3a43165749f80d7f3eda34e2e2b07f7a349e298 (patch)
treed0682415a325d96e9d92181d480923d8b2ca337d /debian/openvswitch-switch.postrm
parent77ce847d0be64ac3781ac112044dde5ddcbc30bf (diff)
downloadopenvswitch-b3a43165749f80d7f3eda34e2e2b07f7a349e298.tar.gz
debian: Change openvswitch-switch deb to use ovsdb-server and ovs-vswitchd.
This appears to work in that it creates the database on installation, starts and stops the programs and loads and unloads the kernel modules at the right times, but it has not been tested beyond that.
Diffstat (limited to 'debian/openvswitch-switch.postrm')
-rwxr-xr-xdebian/openvswitch-switch.postrm3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/openvswitch-switch.postrm b/debian/openvswitch-switch.postrm
index 19e8ebe4c..6ff5ec2c9 100755
--- a/debian/openvswitch-switch.postrm
+++ b/debian/openvswitch-switch.postrm
@@ -21,7 +21,10 @@ set -e
case "$1" in
purge)
+ rm -f /etc/openvswitch-switch/conf
+ rm -f /etc/openvswitch-switch/.conf.~lock~
rm -f /etc/default/openvswitch-switch
+ rm -f /var/log/openvswitch/*
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)