/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

* network-hooks.d/bridge: Bug fix - take up (and down) the bound
                          interfaces, and sleep to wait for the bridge
                          to come up.

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
    esac
108
108
done
109
109
 
110
 
# Get DEVICE from initramfs.conf and other files
111
 
. /etc/initramfs-tools/initramfs.conf
112
 
for conf in /etc/initramfs-tools/conf.d/*; do
113
 
    if [ -n `basename \"$conf\" | grep '^[[:alnum:]][[:alnum:]\._-]*$' \
114
 
        | grep -v '\.dpkg-.*$'` ]; then
115
 
        [ -f ${conf} ] && . ${conf}
116
 
    fi
117
 
done
118
 
export DEVICE
119
 
 
120
110
# Copy network hooks
121
111
for hook in /etc/mandos/network-hooks.d/*; do
122
112
    case "`basename \"$hook\"`" in