From 788c5fd8d6135b9fa39134677028fdaf3664dc2d Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Sun, 16 Oct 2011 15:06:50 +0200 Subject: [PATCH] Install the init script as mpt-statusd. --- mpt-status.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mpt-status.spec b/mpt-status.spec index caece5b..6b6c560 100644 --- a/mpt-status.spec +++ b/mpt-status.spec @@ -33,7 +33,7 @@ you to monitor the health and status of your RAID setup. %install %{__rm} -rf %{buildroot} %{__install} -D -m0755 mpt-status %{buildroot}%{_sbindir}/mpt-status -%{__install} -D -m0755 %{SOURCE10} %{buildroot}/%{_sysconfdir}/rc.d/init.d/mpt-status +%{__install} -D -m0755 %{SOURCE10} %{buildroot}/%{_sysconfdir}/rc.d/init.d/mpt-statusd %clean %{__rm} -rf %{buildroot} @@ -42,14 +42,14 @@ you to monitor the health and status of your RAID setup. %defattr(-, root, root, 0755) %doc doc/* %{_sbindir}/mpt-status -%{_sysconfdir}/rc.d/init.d/mpt-status +%{_sysconfdir}/rc.d/init.d/mpt-statusd %post -/sbin/chkconfig --add mpt-status +/sbin/chkconfig --add mpt-statusd %preun -/sbin/service mpt-status stop > /dev/null 2>&1 -/sbin/chkconfig --del mpt-status +/sbin/service mpt-statusd stop > /dev/null 2>&1 +/sbin/chkconfig --del mpt-statusd %changelog * Sun Oct 16 2011 Sven Hoexter - 1.2.0-3 -- 2.39.2