Daily check for maintainance shutdown
This is a simple script that check time elapsed since last boot. If more than one week, shutdown system. The main purposes are:
- Shutdown system periodically to apply system update
- Warn users that they have 10 minutes to finish their jobs before shutdown
Step 1: Clone or download the repository.
Step 2: Run install.sh
from the root of the repository.
Code structure based on silverblue-update (https://github.com/tonywalker1/silverblue-update)