Deleted Added
full compact
ypbind (98184) ypbind (103019)
1#!/bin/sh
2#
3# $NetBSD: ypbind,v 1.5 2002/03/22 04:34:01 thorpej Exp $
1#!/bin/sh
2#
3# $NetBSD: ypbind,v 1.5 2002/03/22 04:34:01 thorpej Exp $
4# $FreeBSD: head/etc/rc.d/ypbind 98184 2002-06-13 22:14:37Z gordon $
4# $FreeBSD: head/etc/rc.d/ypbind 103019 2002-09-06 16:18:05Z gordon $
5#
6
7# PROVIDE: ypbind
8# REQUIRE: ypserv
9# BEFORE: DAEMON
10# KEYWORD: FreeBSD NetBSD
11
12. /etc/rc.subr
13
14name="ypbind"
15command="/usr/sbin/${name}"
16start_precmd="ypbind_precmd"
17
5#
6
7# PROVIDE: ypbind
8# REQUIRE: ypserv
9# BEFORE: DAEMON
10# KEYWORD: FreeBSD NetBSD
11
12. /etc/rc.subr
13
14name="ypbind"
15command="/usr/sbin/${name}"
16start_precmd="ypbind_precmd"
17
18case `${CMD_OSTYPE}` in
18case ${OSTYPE} in
19FreeBSD)
20 rcvar="nis_client_enable"
21 command_args="${nis_client_flags}"
22 ;;
23NetBSD)
24 rcvar=$name
25 ;;
26esac

--- 12 unchanged lines hidden ---
19FreeBSD)
20 rcvar="nis_client_enable"
21 command_args="${nis_client_flags}"
22 ;;
23NetBSD)
24 rcvar=$name
25 ;;
26esac

--- 12 unchanged lines hidden ---