/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 initramfs-tools-hook

* initramfs-tools-hook: Install network hooks (and any required files)
                        in the initramfs image.
* plugins.d/mandos-client.c (main): Also set MANDOSNETHOOKDIR for
                                    network hooks.
* plugins.d/mandos-client.xml (OPTIONS): Use <filename
                                         class="directory">, not
                                         <directory>.

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
    esac
117
117
    # Copy any files needed by the network hook
118
118
    MANDOSNETHOOKDIR=/etc/mandos/network-hooks.d MODE=files \
119
 
        VERBOSITY=0 "$hook" files | while read file target; do
 
119
        "$hook" files | while read file target; do
120
120
        if [ -z "${target}" ]; then
121
121
            copy_exec "$file"
122
122
        else