Skip to content

Instantly share code, notes, and snippets.

View kiawins's full-sized avatar

Kia Winslow kiawins

View GitHub Profile
@kiawins
kiawins / startup.sh
Created October 6, 2016 22:55 — forked from Whoaa512/startup.sh
Kia's aws startup script
#!/usr/bin/env bash
# Ask for the administrator password upfront.
sudo -v
# Keep-alive: update existing `sudo` time stamp until the script has finished.
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
# Update the package manager's listings
echo "Updating the package manager's listings"