]> git.pld-linux.org Git - packages/am-utils.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:
    am-utils.init -> 1.8

am-utils.init

index d14c5f8f1037f42b75832608e32e74704af052c7..2868beb620c28b1f13b50644b42d1b542eedf9f3 100644 (file)
 # Demon specified configuration.
 . /etc/sysconfig/amd
 
+if [ "$1" != "stop" ]; then
+       check_portmapper || { nls "Error: portmap isn't running" && exit 0; }
+fi
+
 RETVAL=0
 # See how we were called.
 case "$1" in
This page took 0.073394 seconds and 4 git commands to generate.