Commit a81b81d6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

tune_sssd.sh: check for etckeeper for /etc

parent ca24a4e4
......@@ -6,6 +6,9 @@ fatal()
exit 1
}
epm -q etckeeper || fatal "Install etckeeper for /etc/ before"
[ -d /etc/.git ] || fatal "initialize /etc with etckeeper init"
# Get REALM (needed for sssd tuning only) from DNS
REALM=$(host -t txt _kerberos | sed -e 's|.*"\(.*\)".*|\1|')
if [ -z "$REALM" ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment