/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to debian/mandos-client.postrm

  • Committer: Teddy Hogeborn
  • Date: 2012-06-17 02:30:59 UTC
  • Revision ID: teddy@recompile.se-20120617023059-em4nfnxg1tsn64xj
* plugins.d/mandos-client (start_mandos_communication): Bug fix; skip
                                                        non-specified
                                                        interfaces.
  (main): Use lower_privileges() consistently.  Bug fix: Don't remove
          "none" from list of interfaces.  Make --interface=none work
          again by not bringing up interfaces specified after "none".
* plugins.d/mandos-client.xml (OPTIONS): Document new meaning of
                                         specifying --interface=none
                                         together with other
                                         interface names,

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh -e
 
1
#!/bin/sh
2
2
# This script can be called in the following ways:
3
3
#
4
4
# After the package was removed:
26
26
# If preinst fails during upgrade:
27
27
#       <new-postrm> abort-upgrade <old-version>
28
28
 
 
29
set -e
29
30
 
30
31
# Update the initial RAM file system image
31
32
update_initramfs()
45
46
        rm --force /etc/mandos/plugin-runner.conf \
46
47
            /etc/keys/mandos/pubkey.txt \
47
48
            /etc/keys/mandos/seckey.txt 2>/dev/null
 
49
        update_initramfs
48
50
        ;;
49
51
    upgrade|failed-upgrade|disappear|abort-install|abort-upgrade)
50
52
        ;;
51
53
 
52
54
    *)
53
 
        echo "$0 called with unknown argument \`$1'" 1>&2
 
55
        echo "$0 called with unknown argument '$1'" 1>&2
54
56
        exit 1
55
57
        ;;
56
58
esac