]> git.sven.stormbind.net Git - sven/mpt-status.git/commitdiff
Install the init script as mpt-statusd.
authorSven Hoexter <sven@timegate.de>
Sun, 16 Oct 2011 13:06:50 +0000 (15:06 +0200)
committerSven Hoexter <sven@timegate.de>
Sun, 16 Oct 2011 13:06:50 +0000 (15:06 +0200)
mpt-status.spec

index caece5b4de18b06b277ef272b13663200fbb1366..6b6c5605317e2c73d3b01f8d89bab65fe5ffbf28 100644 (file)
@@ -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 <sven@timegate.de> - 1.2.0-3