Commit a348cbd2 authored by Volodymyr Melnyk's avatar Volodymyr Melnyk

Fix another bug

parent 333d4cd2
......@@ -20,6 +20,7 @@ case "${centos_release}" in
_log 1 "Installing System V init script"
cat "${_share_dir}/sysvinit/save_io_stats" >"${syvinit_script}"
fi
break
;;
"CentOS Linux release 7."*)
systemd_service_config='/etc/systemd/system/save_io_stats.service'
......@@ -27,6 +28,7 @@ case "${centos_release}" in
_log 1 "Installing systemd service configuration file"
cat "${_share_dir}/systemd/save_io_stats.service" >"${systemd_service_config}"
fi
break
;;
*)
_die "Can't install on this distro"
......
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