]> git.pld-linux.org Git - packages/quota.git/commitdiff
- use generic portmapper check from rc-scripts
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 26 Apr 2007 22:19:06 +0000 (22:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rquotad.init -> 1.19

rquotad.init

index ccefafffd2419c39926aa1dc4e1993d81b7a8da8..1bfadb17b763d71eeae938fa7be116e92a8f093e 100644 (file)
@@ -29,9 +29,8 @@ else
        exit 0
 fi
 
-if [ -x /sbin/pidof ] && [ "$1" != "stop" ] && [ -z "`/sbin/pidof portmap`" ]; then
-       echo "Error: portmap isn't running"
-       exit 0
+if [ "$1" != "stop" ]; then
+       check_portmapper || { nls "Error: portmap isn't running" && exit 0; }
 fi
 
 start() {
This page took 0.113634 seconds and 4 git commands to generate.