]> git.pld-linux.org Git - packages/nfs-utils.git/commitdiff
- added post/preun scripts to rquotad package
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 1 Dec 1999 14:53:45 +0000 (14:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nfs-utils.spec -> 1.7

nfs-utils.spec

index 2a7303fc3732cc9db5e626db6549a3c0e8865130..0ac78f69f334900ed4a28ec5c058a834815d142a 100644 (file)
@@ -159,7 +159,7 @@ fi
 if [ -r /var/lock/subsys/nfslock ]; then
        /etc/rc.d/init.d/nfslock restart >&2
 else
-       echo "Run \"/etc/rc.d/init.d/nfs start\" to start nfslock daemon."
+       echo "Run \"/etc/rc.d/init.d/nfslock start\" to start nfslock daemon."
 fi
 
 %preun lock
@@ -168,6 +168,20 @@ if [ "$1" = "0" ]; then
        /etc/rc.d/init.d/nfslock stop >&2
 fi
 
+%post rquotad
+/sbin/chkconfig --add rquotad
+if [ -r /var/lock/subsys/rquotad ]; then
+       /etc/rc.d/init.d/rquotad restart >&2
+else
+       echo "Run \"/etc/rc.d/init.d/rquotad start\" to start quota daemon."
+fi
+
+%preun rquotad
+if [ "$1" = "0" ]; then
+       /sbin/chkconfig --del rquotad
+       /etc/rc.d/init.d/rquotad stop >&2
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc {ChangeLog,README,*.ps}.gz html
This page took 0.055947 seconds and 4 git commands to generate.