mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Make the network name of the Pi "teslausb".
This commit is contained in:
@@ -85,3 +85,9 @@ rm ~/rc.local
|
|||||||
pushd /etc/modprobe.d
|
pushd /etc/modprobe.d
|
||||||
wget https://raw.githubusercontent.com/cimryan/teslausb/master/g_mass_storage.conf
|
wget https://raw.githubusercontent.com/cimryan/teslausb/master/g_mass_storage.conf
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
cp /etc/hosts ~
|
||||||
|
sed s/raspberrypi/teslausb/g ~/hosts > /etc/hosts
|
||||||
|
|
||||||
|
cp /etc/hostname ~
|
||||||
|
sed s/raspberrypi/teslausb/g ~/hosts > /etc/hostname
|
||||||
Reference in New Issue
Block a user