+Installation initialization of the FUSE /var/lock/subsys shutdown safety.
authorlace <>
Thu, 22 Dec 2005 10:59:36 +0000 (10:59 +0000)
committerlace <>
Thu, 22 Dec 2005 10:59:36 +0000 (10:59 +0000)
captive.spec.in

index 174056a..d470b52 100644 (file)
@@ -214,6 +214,7 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 /usr/lib/lsb/install_initd @PACKAGE@ 2>/dev/null || \
                /sbin/chkconfig --add @PACKAGE@
+touch %{_var}/lock/subsys/@PACKAGE@
 
 %if ! %{static}
 %post install
@@ -239,6 +240,8 @@ rm -rf %{_var}/lib/@PACKAGE@/tmp/*
 %endif
 /usr/lib/lsb/remove_initd @PACKAGE@ 2>/dev/null || \
                /sbin/chkconfig --del @PACKAGE@
+%{_initrddir}/@PACKAGE@ stop
+rm -f %{_var}/lock/subsys/@PACKAGE@
 
 %files
 %defattr(-,root,root)