Files
pi_tools/NTCNA/rpi-update.sh

20 lines
283 B
Bash
Executable File

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