/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: Björn Påhlsson
  • Date: 2011-06-23 22:27:15 UTC
  • mto: This revision was merged to the branch mainline in revision 485.
  • Revision ID: belorn@fukt.bsnet.se-20110623222715-q5wro9ma9iyjl367
* Makefile (CFLAGS): Added "-lrt" to include real time library.
* plugins.d/mandos-client.c: use scandir(3) instead of readdir(3)
                             Prefix all debug output with "Mandos plugin " + program_invocation_short_name
                             Retry servers that failed to provide password.
                             New option --retry SECONDS that sets the interval between rechecking.
                             --retry also controls how often it retries a server when using --connect.
* plugins.d/splashy.c:  Prefix all debug output with "Mandos plugin " + program_invocation_short_name
* plugins.d/usplash.c: --||--
* plugins.d/askpass-fifo.c: --||--
* plugins.d/password-prompt.c: --||--
* plugins.d/plymouth.c: --||--
* mandos: Lower logger level from warning to info on failed client requests because client was disabled or unknown fingerprint.
* plugins.d/plymouth.c (get_pid): bug fix. Was not calling free on direntries. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
        ;;
42
42
 
43
43
    purge)
44
 
        shred --remove /etc/keys/mandos/seckey.txt || :
 
44
        shred --remove /etc/keys/mandos/seckey.txt 2>/dev/null || :
45
45
        rm --force /etc/mandos/plugin-runner.conf \
46
46
            /etc/keys/mandos/pubkey.txt \
47
 
            /etc/keys/mandos/seckey.txt
 
47
            /etc/keys/mandos/seckey.txt 2>/dev/null
 
48
        update_initramfs
48
49
        ;;
49
50
    upgrade|failed-upgrade|disappear|abort-install|abort-upgrade)
50
51
        ;;
51
52
 
52
53
    *)
53
 
        echo "$0 called with unknown argument \`$1'" 1>&2
 
54
        echo "$0 called with unknown argument '$1'" 1>&2
54
55
        exit 1
55
56
        ;;
56
57
esac