From: Jan Rękorajski Date: Thu, 26 Apr 2007 22:33:31 +0000 (+0000) Subject: - check if portmapper is running X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbootparamd.git;a=commitdiff_plain - check if portmapper is running Changed files: bootparamd.init -> 1.11 --- 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