From owner-freebsd-ports Thu Dec 7 0:32:53 2000 From owner-freebsd-ports@FreeBSD.ORG Thu Dec 7 00:32:51 2000 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from waterblue.imgsrc.co.jp (waterblue.imgsrc.co.jp [210.226.20.160]) by hub.freebsd.org (Postfix) with ESMTP id DA49037B400; Thu, 7 Dec 2000 00:32:50 -0800 (PST) Received: from waterblue.imgsrc.co.jp (localhost [127.0.0.1]) by waterblue.imgsrc.co.jp (8.11.0/8.11.0) with ESMTP id eB78WjC19373; Thu, 7 Dec 2000 17:32:45 +0900 (JST) Date: Thu, 07 Dec 2000 17:32:45 +0900 Message-ID: <7mu28geimq.wl@waterblue.imgsrc.co.jp> From: Jun Kuriyama To: jseger@FreeBSD.org Cc: Ports Team Subject: net/isc-dhcp2 startup script User-Agent: Wanderlust/2.3.92 (Roam) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 12) (Channel Islands) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: multipart/mixed; boundary="Multipart_Thu_Dec__7_17:32:45_2000-1" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --Multipart_Thu_Dec__7_17:32:45_2000-1 Content-Type: text/plain; charset=US-ASCII Hi Justin, Is it possible to include startup script for isc-dhcp2 as a sample file like this? # Users must edit ifaces line to fit their configuration. -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project --Multipart_Thu_Dec__7_17:32:45_2000-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="dhcpd.sh" Content-Transfer-Encoding: 7bit #!/bin/sh # # $FreeBSD$ # ifaces="fxp0" if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then echo "$0: Cannot determine the PREFIX" >&2 exit 1 fi case "$1" in start) ${PREFIX}/sbin/dhcpd $ifaces ;; stop) kill `cat /var/run/dhcpd.pid` ;; *) echo "Usage: `basename $0` {start|stop}" >&2 ;; esac exit 0 --Multipart_Thu_Dec__7_17:32:45_2000-1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message