Tweaks for CarPi setup/install
This commit is contained in:
@ -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"
|
||||
@ -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
|
||||
Reference in New Issue
Block a user