Skip to content

Commit

Permalink
add extra require for good measure
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrobbins committed Aug 13, 2010
1 parent bb8a0f6 commit 530b8d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions init.d/netif.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ start() {
ebegin "$STARTD"
ip addr flush dev $interface
if [ -n "$trunk" ]; then
require vlan
ip link add dev ${interface} link ${trunk} type vlan id ${vlan} || die "Couldn't configure VLAN ${vlan} on ${trunk}"
fi
netif_pre_up
Expand Down

0 comments on commit 530b8d7

Please sign in to comment.