fix syntax error in preinit hook (#6610)

SVN-Revision: 19461
owl
Jo-Philipp Wich 2010-01-31 16:10:42 +00:00
parent 776355717c
commit fb29bd369a
1 changed files with 3 additions and 2 deletions

View File

@ -13,8 +13,9 @@ preinit_ip() {
else
ifname=eth0
fi
pi_ifname=$ifname
}
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
}