From d42d012a97fb04799c0a1da9a9c8c0ae60f1a6bd Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 30 Sep 2014 10:51:43 +0100 Subject: [PATCH] Single quotes --- initial_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initial_setup.sh b/initial_setup.sh index 18fd6c62..6bc75f46 100755 --- a/initial_setup.sh +++ b/initial_setup.sh @@ -96,7 +96,7 @@ sudo sed -i '/iface eth0 inet static/a\ netmask 255.255.255.0' $MICROSD_MOUNT sudo sed -i "/iface eth0 inet static/a\ address $BBB_FIXED_IP_ADDRESS" $MICROSD_MOUNT_POINT/rootfs/etc/network/interfaces sudo sed -i '/iface usb0 inet static/,/ gateway 192.168.7.1/ s/^/#/' $MICROSD_MOUNT_POINT/rootfs/etc/network/interfaces -sudo sed -i "s/nameserver.*/nameserver 213.73.91.35" $MICROSD_MOUNT_POINT/rootfs/etc/resolv.conf +sudo sed -i 's/nameserver.*/nameserver 213.73.91.35/g' $MICROSD_MOUNT_POINT/rootfs/etc/resolv.conf sudo echo 'nameserver 85.214.20.141' >> $MICROSD_MOUNT_POINT/rootfs/etc/resolv.conf sync