From 0253101e75c426a287b5903c3af19a3eeb361e96 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Thu, 26 Apr 2007 22:33:31 +0000 Subject: [PATCH] - check if portmapper is running Changed files: bootparamd.init -> 1.11 --- bootparamd.init | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootparamd.init b/bootparamd.init index 66c3c1c..e809028 100644 --- a/bootparamd.init +++ b/bootparamd.init @@ -23,6 +23,10 @@ else exit 0 fi +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 -- 2.43.0