Fix typo in dhcp-all-interfaces.

It is meant to write to /etc/network/interfaces, not
/etc/network/interfaces].

Change-Id: I15ea677edf7129ffd222c39627f7f76356f68e11
This commit is contained in:
Robert Collins 2013-10-01 20:32:40 +13:00
parent d5afe2b1fa
commit 2684cddd3d

View File

@ -28,7 +28,7 @@ for interface in $(ls /sys/class/net | grep -v ^lo$) ; do
TRIES=$(( TRIES - 1 ))
done
if [ "$HAS_LINK" == "1" ] ; then
printf "auto $interface\r\niface $interface inet dhcp\r\n\r\n" >>$INTERFACES_FILE]
printf "auto $interface\r\niface $interface inet dhcp\r\n\r\n" >>$INTERFACES_FILE
echo "Configured"
else
echo "No link detected, skipping"