summaryrefslogtreecommitdiff
path: root/usr/src/cmd/svc
diff options
context:
space:
mode:
authorjjj <none@none>2006-06-05 12:54:58 -0700
committerjjj <none@none>2006-06-05 12:54:58 -0700
commit064ed339d53d38ca3b43105dc6fc88512efed351 (patch)
tree2770105fe5ff4903568e6aba5c6a35b628b2fbeb /usr/src/cmd/svc
parent0c44d0008f52b6a42b9c01d3b344661217520a68 (diff)
downloadillumos-joyent-064ed339d53d38ca3b43105dc6fc88512efed351.tar.gz
6432964 rpcbind should not require restart to begin listening to the network
6432967 rpcbind must listen to the network if NFS is in use
Diffstat (limited to 'usr/src/cmd/svc')
-rw-r--r--usr/src/cmd/svc/shell/netservices.sh13
1 files changed, 0 insertions, 13 deletions
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