Tweaks for CarPi setup/install

This commit is contained in:
2021-09-01 15:50:03 -04:00
parent 70b66e3f54
commit 14b79ac56b
21 changed files with 12 additions and 12 deletions

View File

@ -8,10 +8,7 @@ done
cp -r home/pi/.* /home/pi/
# network
# Need rc.local to start CAN and BSMPd
#sudo systemctl enable rc-local.service
#sudo systemctl enable x11vnc.service
echo "Networking installed, use WiFi for Internet"
# update & clean
sudo apt-get update
@ -20,8 +17,11 @@ sudo apt-get install -y ntpdate subversion git cmake
sudo apt-get -y autoremove
sudo apt-get clean
# enable GUI
sudo systemctl set-default graphical.target
# Need rc.local to start CAN and BSMPd
sudo systemctl enable rc-local.service
if [ ! -f /etc/init/x11vnc.conf ]; then
sudo systemctl enable x11vnc.service
fi
# time
sudo ntpdate pool.ntp.org
@ -95,3 +95,6 @@ chmod +x $HOME/PyVehicle/bin/*.sh
# cleanup
sudo raspi-config
git config --global user.email "nprobert@probestar.net"
git config --global user.name "Neal Probert"

View File

@ -1,9 +1,9 @@
#!/bin/sh
# copy config files
sudo cp -r etc lib usr home /
sudo cp -r etc lib usr /
# Need rc.local to start CAN and BSMPd
# Need rc.local?
sudo systemctl enable rc-local.service
# update
@ -11,9 +11,6 @@ sudo ntpdate pool.ntp.org
sudo hwclock -w
# checkouts
pstar-update.sh
ntcna-update.sh
# rebuild
#cd $HOME/NTCNA/CVehicle
#./build.sh
#./install.sh