From 2684cddd3d60265473941e558a015e0a08318b3c Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Tue, 1 Oct 2013 20:32:40 +1300 Subject: [PATCH] Fix typo in dhcp-all-interfaces. It is meant to write to /etc/network/interfaces, not /etc/network/interfaces]. Change-Id: I15ea677edf7129ffd222c39627f7f76356f68e11 --- .../dhcp-all-interfaces/install.d/generate-interfaces-file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/dhcp-all-interfaces/install.d/generate-interfaces-file.sh b/elements/dhcp-all-interfaces/install.d/generate-interfaces-file.sh index ba0e7a86..fa9b745c 100755 --- a/elements/dhcp-all-interfaces/install.d/generate-interfaces-file.sh +++ b/elements/dhcp-all-interfaces/install.d/generate-interfaces-file.sh @@ -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"