This script will set up your raspberry pi after first boot. All you have to do is run following command:
sudo curl -sS https://raw.githubusercontent.com/kevalpatel2106/rpi-setup/master/setup.sh | sudo bash
- Update the OS.
- Upgrade all the packages.
- Update the firmware.
- Removing unused packages.
- Setting up the hdmi resolution.
- Enabling zram.