From 064ed339d53d38ca3b43105dc6fc88512efed351 Mon Sep 17 00:00:00 2001 From: jjj Date: Mon, 5 Jun 2006 12:54:58 -0700 Subject: 6432964 rpcbind should not require restart to begin listening to the network 6432967 rpcbind must listen to the network if NFS is in use --- usr/src/cmd/svc/shell/netservices.sh | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'usr/src/cmd/svc') diff --git a/usr/src/cmd/svc/shell/netservices.sh b/usr/src/cmd/svc/shell/netservices.sh index 162a282737..1de13b54fc 100644 --- a/usr/src/cmd/svc/shell/netservices.sh +++ b/usr/src/cmd/svc/shell/netservices.sh @@ -277,19 +277,6 @@ then svcadm restart $SENDMAIL_FMRI fi -if [ "`svcprop -p restarter/state $BIND_FMRI:default`" = "online" ] -then - # since inetd won't successfully re-register RPC-services after - # rpcbind restarts, we need to stop/start inetd too (and serialize - # these state-transitions) - svcadm disable -s $INETD_FMRI:default - svcadm disable -s $BIND_FMRI:default - echo "restarting rpcbind" - svcadm enable -s $BIND_FMRI:default - echo "restarting inetd" - svcadm enable -s $INETD_FMRI:default -fi - if [ $DT_CHANGED -eq 1 ]; then if [ "`svcprop -p restarter/state $DTLOGIN_FMRI:default`" = "online" ] then -- cgit v1.2.3