Raspberry Pi
Update/Upgrade
apt-get update
apt-get upgrade -y
apt-get dist-upgrade -y
swap increase
dphys-swapfile swapoff
vi /etc/dphys-swapfile
CONF_SWAPSIZE=1024
dphys-swapfile setup
dphys-swapfile swapon
Disable motd for user
touch ~/.hushlogin
sysinfo
#!/bin/bash
# Script: my-pi-temp.sh
# Purpose: Display the ARM CPU and GPU temperature of Raspberry Pi 2/3
# Author: