diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..05004e5 --- /dev/null +++ b/install.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# Check if is root +echo "Kernel Tweeks by Nfense." +if [ "$EUID" -ne 0 ] + then echo "Please run this as root" + exit +fi + +# Copy kernel settings to /etc +cp ./sysctl.conf /etc + +# Reload kernel from file +sysctl -p +echo "Settings updated."