SPECS: quota.spec - rel 3 - cleaned up init script - added trigger...

baggins baggins at pld-linux.org
Fri Apr 6 01:50:01 CEST 2007


Author: baggins                      Date: Thu Apr  5 23:50:01 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 3
- cleaned up init script
- added trigger to reset rquota start and stop priority to new values

---- Files affected:
SPECS:
   quota.spec (1.84 -> 1.85) 

---- Diffs:

================================================================
Index: SPECS/quota.spec
diff -u SPECS/quota.spec:1.84 SPECS/quota.spec:1.85
--- SPECS/quota.spec:1.84	Mon Feb 12 23:09:12 2007
+++ SPECS/quota.spec	Fri Apr  6 01:49:55 2007
@@ -13,7 +13,7 @@
 Summary(zh_CN.UTF-8):	磁盘使用情况的监控工具
 Name:		quota
 Version:	3.14
-Release:	2
+Release:	3
 Epoch:		1
 License:	BSD
 Group:		Applications/System
@@ -144,7 +144,7 @@
 
 %post rquotad
 /sbin/chkconfig --add rquotad
-%service rquotad restart "NFS quota daemon"
+%service rquotad restart "RPC rquotad"
 
 %preun rquotad
 if [ "$1" = "0" ]; then
@@ -152,6 +152,9 @@
 	/sbin/chkconfig --del rquotad
 fi
 
+%triggerpostun rquotad -- %{name}-rquotad < 3.14-3
+/sbin/chkconfig rquotad reset
+
 %files -f quota.lang
 %defattr(644,root,root,755)
 %doc Changelog doc/{quotas-1.eps,quotas.ms} quotatab
@@ -205,6 +208,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.85  2007/04/05 23:49:55  baggins
+- rel 3
+- cleaned up init script
+- added trigger to reset rquota start and stop priority to new values
+
 Revision 1.84  2007/02/12 22:09:12  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/quota.spec?r1=1.84&r2=1.85&f=u



More information about the pld-cvs-commit mailing list