/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: Warn when files needed by network hooks are
                        not found.

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
        # Copy any files needed by the network hook
119
119
        MANDOSNETHOOKDIR=/etc/mandos/network-hooks.d MODE=files \
120
120
            VERBOSITY=0 "$hook" files | while read file target; do
 
121
            if [ ! -e "${file}" ]; then
 
122
                echo "WARNING: file ${file} not found, requested by Mandos network hook '${hook##*/}'" >&2
 
123
            fi
121
124
            if [ -z "${target}" ]; then
122
125
                copy_exec "$file"
123
126
            else