blob: 9ce9d764d7e8f60b0522067562e339beb81b84d4 [file] [log] [blame]
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# rpcbind - RPC port mapper
# Rpcbind is a server that converts RPC (Remote Procedure Call) program
# numbers into universal addresses. It must be running on the host to be
# able to make RPC calls on a server on that machine
# This is modified from Ubuntu's portmap.conf
description "RPC port mapper"
author "chromium-os-dev@chromium.org"
start on (net-device-up IFACE=lo)
expect fork
respawn
script
if [ -f /etc/conf.d/rpcbind ]; then
. /etc/conf.d/rpcbind
fi
# NFS must not be enabled in production builds
logger "*** CHROMIUM OS PRODUCTION NOTICE: rpcbind.conf: NFS IS IN USE"
exec rpcbind $RPCBIND_OPTS
end script