Signed-off-by: Martin Schwenke <martin@meltin.net>
kdc=$(sed -r -n -e 's@^kdc[[:space:]]*=[[:space:]]*([^ ]*)[[:space:]]*$@\1@p' "$conf_file")
-echo "Enabling NTP and ensuring it is started..."
-onnode -p all chkconfig ntpd on
-onnode -p all service ntpd restart
-
mmgetstate | grep active > /dev/null || {
echo "GPFS must be running to setup Samba"
exit 1
echo "Turn on some services..."
chkconfig multipathd on
chkconfig nfslock on
+chkconfig ntpd on
echo "Turn on some services..."
chkconfig multipathd on
+chkconfig ntpd on
while read s ; do
systemctl enable "${s}.service"
done <<EOF
+chronyd
multipathd
EOF