Skip to content

Instantly share code, notes, and snippets.

View blind-confused's full-sized avatar

blind-confused

View GitHub Profile
#!/usr/bin/env bash
set -e # Exit on error
if [ "$EUID" -ne 0 ]; then
echo "To ensure correct permissions, this script must be run as root."
exit 1
fi
install_location="/var/lib/safing-portmaster" # Must not include trailing slash