Update jetson-nano-convert-to-headless.sh

merge-requests/70/head
Moe 2019-06-19 00:24:48 -07:00
parent 7bc2136e6e
commit 6b7689863a
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ if [ "$purgeDesktop" = "Y" ] || [ "$purgeDesktop" = "y" ]; then
sudo systemctl isolate multi-user.target sudo systemctl isolate multi-user.target
#### ####
echo "Resetting network interface file" echo "Resetting network interface file"
echo "source-directory /etc/network/interfaces.d" echo "source-directory /etc/network/interfaces.d" > "/etc/network/interfaces"
echo "auto eth0" > "/etc/network/interfaces" echo "auto eth0" >> "/etc/network/interfaces"
echo "iface eth0 inet dhcp" >> "/etc/network/interfaces" echo "iface eth0 inet dhcp" >> "/etc/network/interfaces"
fi fi
fi fi