stop sfa service prior to uninstall
[sfa.git] / geniwrapper.spec
index f7f352b..743fa66 100644 (file)
@@ -86,6 +86,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/setRecord.py*
 %{_bindir}/genidump.py*
 
+%pre plc
+[ -f %{_sysconfdir}/init.d/sfa ] && service sfa stop
+
 %post plc
 chkconfig --add sfa