Changed default speeds on PWM to 6000/24000, and clean up old cookies

This commit is contained in:
David Carley
2021-12-07 19:15:13 -08:00
parent 9a0e90576f
commit 5b1702c62a
3 changed files with 14 additions and 16 deletions

View File

@@ -154,15 +154,11 @@ if [ ! -e /etc/cron.d/reboot ]; then
cp ./scripts/cron_reboot_logrotate /etc/cron.reboot/logrotate
fi
##########################################
# Begin one-time cleanup tasks for 1.0.7
##########################################
# Delete some cookies that were left behind in older images
chmod +x ./scripts/delete-cookies.py
./scripts/delete-cookies.py
# Delete cached login data
rm -rf "/home/pi/.config/chromium/Login Data"
rm -rf "/home/pi/.config/chromium/Login Data.journal"
# Get rid of some old files that were left behind
# Get rid of some old files that were left behind in older images
rm -rf /home/pi/hostinfo.txt
rm -rf /home/pi/ssidinfo.txt
rm -rf /home/Downloads/bbctrl-20200415.json
@@ -174,10 +170,6 @@ rm -rf /home/bbmc/favicon.ico
# Force a logrotate to get everything into a good state
logrotate -f /etc/logrotate.conf
##########################################
# End one-time cleanup tasks for 1.0.7
##########################################
sync
if $REBOOT; then