Deleted Added
full compact
rpcbind (98184) rpcbind (98486)
1#!/bin/sh
2#
3# $NetBSD: rpcbind,v 1.6 2002/01/31 01:26:06 lukem Exp $
1#!/bin/sh
2#
3# $NetBSD: rpcbind,v 1.6 2002/01/31 01:26:06 lukem Exp $
4# $FreeBSD: head/etc/rc.d/rpcbind 98184 2002-06-13 22:14:37Z gordon $
4# $FreeBSD: head/etc/rc.d/rpcbind 98486 2002-06-20 08:49:44Z dougb $
5#
6
7# PROVIDE: rpcbind
8# REQUIRE: NETWORKING ntpdate syslogd named ppp
9# KEYWORD: FreeBSD NetBSD
10
11. /etc/rc.subr
12

--- 5 unchanged lines hidden (view full) ---

18#
19load_rc_config $name
20command="${portmap_program:-/usr/sbin/${name}}"
21
22case `${CMD_OSTYPE}` in
23FreeBSD)
24 pidfile=
25 rcvar="portmap_enable"
5#
6
7# PROVIDE: rpcbind
8# REQUIRE: NETWORKING ntpdate syslogd named ppp
9# KEYWORD: FreeBSD NetBSD
10
11. /etc/rc.subr
12

--- 5 unchanged lines hidden (view full) ---

18#
19load_rc_config $name
20command="${portmap_program:-/usr/sbin/${name}}"
21
22case `${CMD_OSTYPE}` in
23FreeBSD)
24 pidfile=
25 rcvar="portmap_enable"
26 command="${portmap_program:-/usr/sbin/${name}}"
27 eval ${name}_flags=\"${portmap_flags}\"
28 ;;
29NetBSD)
30 rcvar=$name
31 command="/usr/sbin/${name}"
32 pidfile="/var/run/${name}.pid"
33 ;;
34esac
35
36run_rc_command "$1"
26 eval ${name}_flags=\"${portmap_flags}\"
27 ;;
28NetBSD)
29 rcvar=$name
30 command="/usr/sbin/${name}"
31 pidfile="/var/run/${name}.pid"
32 ;;
33esac
34
35run_rc_command "$1"