#!/bin/bash

# upload current settings to server so auto re-install works
#update database with latest label, site, and types in case they were just changed.  don't run full gnc since that could take forever, hard drive might already be corrupt, etc.
gnc update-list

#take off password protections
sed -i 's/--users staff//' /boot/grub/grub.cfg

grub-reboot groovix-re-install 

shutdown -r now
