]> git.pld-linux.org Git - packages/mc.git/commitdiff
- check if portmapper is running
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:
    mcserv.init -> 1.12

mcserv.init

index 559d7c9d5e7b71c8df22ba0eb9149307292aa6f1..14b1ec0d923bc7926851f896e90974f8cc1ee15b 100644 (file)
@@ -32,6 +32,9 @@ else
        exit 0
 fi
 
+if [ "$1" != "stop" ]; then
+       check_portmapper || { nls "Error: portmap isn't running" && exit 0; }
+fi
 
 # See how we were called.
 case "$1" in
This page took 0.077384 seconds and 4 git commands to generate.