mirror of
https://github.com/orhun/systeroid
synced 2024-07-09 04:06:06 +00:00
11 lines
216 B
Bash
Executable File
11 lines
216 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eu
|
|
|
|
while IFS='=' read -r variable value; do
|
|
if [[ -n "$value" ]]; then
|
|
echo "[+] $variable=$value"
|
|
test "$(sysctl -b ${variable/ /})" = "${value/ /}"
|
|
fi
|
|
done < "$1"
|