/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 network-hooks.d/bridge

* network-hooks.d/bridge: Look for both /sbin/brctl and /usr/sbin/brctl.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    exit
30
30
fi
31
31
 
 
32
for brctl in /sbin/brctl /usr/sbin/brctl; do
 
33
    if [ -e "$brctl" ]; then
 
34
        break
 
35
    fi
 
36
done
 
37
 
32
38
case "$1" in
33
39
    start)
34
40
        /usr/sbin/brctl addbr "$BRIDGE"
56
62
        ;;
57
63
    files)
58
64
        echo /bin/ip
59
 
        echo /usr/sbin/brctl
 
65
        echo "$brctl"
60
66
        ;;
61
67
    modules)
62
68
        echo bridge