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:
parent
d5afe2b1fa
commit
2684cddd3d
@ -28,7 +28,7 @@ for interface in $(ls /sys/class/net | grep -v ^lo$) ; do
|
|||||||
TRIES=$(( TRIES - 1 ))
|
TRIES=$(( TRIES - 1 ))
|
||||||
done
|
done
|
||||||
if [ "$HAS_LINK" == "1" ] ; then
|
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"
|
echo "Configured"
|
||||||
else
|
else
|
||||||
echo "No link detected, skipping"
|
echo "No link detected, skipping"
|
||||||
|
Loading…
Reference in New Issue
Block a user