]> git.pld-linux.org Git - packages/fam.git/commitdiff
- check if portmapper is running auto/ti/fam-2_7_0-7
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 26 Apr 2007 22:33:31 +0000 (22:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fam.init -> 1.6

fam.init

index 7951c8cbbc9a2cd1f0075128f50f469f49982d32..a3db612e4d4ddd86a2f07c4129e0cac7cc6e6a93 100644 (file)
--- a/fam.init
+++ b/fam.init
@@ -30,6 +30,10 @@ else
        exit 0
 fi
 
+if [ "$1" != "stop" ]; then
+       check_portmapper || { nls "Error: portmap isn't running" && exit 0; }
+fi
+
 start() {
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/famd ]; then
This page took 0.06209 seconds and 4 git commands to generate.