Make the network name of the Pi "teslausb".

This commit is contained in:
cimryan
2018-10-12 14:07:20 -07:00
parent 1aac431c06
commit 1d19ac5c2f

View File

@@ -85,3 +85,9 @@ rm ~/rc.local
pushd /etc/modprobe.d
wget https://raw.githubusercontent.com/cimryan/teslausb/master/g_mass_storage.conf
popd
cp /etc/hosts ~
sed s/raspberrypi/teslausb/g ~/hosts > /etc/hosts
cp /etc/hostname ~
sed s/raspberrypi/teslausb/g ~/hosts > /etc/hostname