From 71e8ba0339abb8b3f06a01faeefcf0735ab6a193 Mon Sep 17 00:00:00 2001 From: cimryan Date: Fri, 12 Oct 2018 14:33:47 -0700 Subject: [PATCH] Give the volume a label and don't overwrite hostname with hosts. --- windows_archive/setup-teslausb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/windows_archive/setup-teslausb b/windows_archive/setup-teslausb index 516a119..3093a33 100644 --- a/windows_archive/setup-teslausb +++ b/windows_archive/setup-teslausb @@ -43,7 +43,7 @@ cat ~/cmdline.txt | sed 's/[[:space:]]\+modules-load=[^ [:space:]]\+//' | sed 's rm ~/cmdline.txt fallocate -l "$size"K /piusb.bin -mkdosfs /piusb.bin -F 32 -I +mkdosfs /piusb.bin -F 32 -I -n TESLAUSB mkdir /mnt/usb_share mkdir /mnt/cam_archive @@ -90,4 +90,4 @@ cp /etc/hosts ~ sed s/raspberrypi/teslausb/g ~/hosts > /etc/hosts cp /etc/hostname ~ -sed s/raspberrypi/teslausb/g ~/hosts > /etc/hostname \ No newline at end of file +sed s/raspberrypi/teslausb/g ~/hostname > /etc/hostname \ No newline at end of file