~ubuntu-branches/ubuntu/oneiric/ufw/oneiric

« back to all changes in this revision

Viewing changes to debian/postrm

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-03-05 11:03:46 UTC
  • Revision ID: james.westby@ubuntu.com-20100305110346-m15xtpy7lou8hzdp
Tags: 0.30pre1-0ubuntu2
* debian/postrm: adjust ordering of commands so that NFS mounted root
  filesystems can still access iptables. Thanks to Sebastian J. Bronner
  for discovering the issue and describing the fix. (LP: #524395)
* merge fix from trunk for UnicodeDecodeError in get_status() (LP: #531886)

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
        for exe in iptables ip6tables
29
29
        do
30
30
            if which $exe > /dev/null 2>&1; then
31
 
                $exe -F 2>/dev/null || true
32
 
                $exe -X 2>/dev/null || true
33
31
                $exe -P INPUT ACCEPT 2>/dev/null || true
34
32
                $exe -P OUTPUT ACCEPT 2>/dev/null || true
35
33
                $exe -P FORWARD ACCEPT 2>/dev/null || true
 
34
                $exe -F 2>/dev/null || true
 
35
                $exe -X 2>/dev/null || true
36
36
            fi
37
37
        done
38
38
        ;;