fix syntax error in preinit hook (#6610)

SVN-Revision: 19461
This commit is contained in:
Jo-Philipp Wich 2010-01-31 16:10:42 +00:00
parent 776355717c
commit fb29bd369a

View file

@ -15,6 +15,7 @@ preinit_ip() {
fi
pi_ifname=$ifname
}
fi
[ -n "$pi_ifname" ] && grep "$pi_ifname" /proc/net/dev >/dev/null && {
ifconfig $pi_ifname $pi_ip netmask $pi_netmask broadcast $pi_broadcast up
}