/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.postinst

* plugins.d/mandos-client.c (good_interface): Add error message.
  (up_interface): Use get_flags() and good_flags().  Also check the
                  IFF_RUNNING flags.
  (runnable_hook): Bug fix: Add NULL to execl() call.
  (main): Use network interfaces which are up and running in
          preference to any other interfaces.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
                --disabled-password --gecos "Mandos password system" \
36
36
                _mandos
37
37
        fi
38
 
        chown _mandos:_mandos /var/lib/mandos
39
38
        ;;
40
 
    
 
39
 
41
40
    abort-upgrade|abort-deconfigure|abort-remove)
42
41
        ;;
43
 
    
 
42
 
44
43
    *)
45
44
        echo "$0 called with unknown argument '$1'" 1>&2
46
45
        exit 1