mirror of
https://github.com/orhun/systeroid
synced 2024-09-06 08:19:00 +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"
|