Date: Wed, 11 Aug 2004 10:10:05 GMT From: Rob MacGregor <rob.macgregor@techie.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/70295: Port net/nylon - startup script Message-ID: <200408111010.i7BAA53d012168@www.freebsd.org> Resent-Message-ID: <200408111010.i7BAAWTi076551@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70295 >Category: ports >Synopsis: Port net/nylon - startup script >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Aug 11 10:10:32 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Rob MacGregor >Release: 5.2-CURRENT >Organization: >Environment: FreeBSD autumn.storm 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Apr 6 13:14:23 BST 2004 root@autumn.storm:/usr/obj/usr/src/sys/GENERIC i386 >Description: New style startup script for the net/nylon port. >How-To-Repeat: >Fix: Script follows (also at http://macgregor.myby.co.uk/nylon.sh if this gets mangled) #!/bin/sh # # PROVIDE: nylon # REQUIRE: LOGIN # KEYWORD: FreeBSD shutdown # # Add the following lines to /etc/rc.conf to enable nylon: # #nylon_enable="YES" # # See nylon(1) for flags # . /etc/rc.subr name=nylon rcvar=`set_rcvar` command=/usr/local/bin/nylon stop_postcmd=stop_postcmd stop_postcmd() { rm -f $pidfile } # set defaults nylon_enable=${nylon_enable:-"NO"} nylon_flags=${nylon_flags:-"-s"} load_rc_config $name run_rc_command "$1" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408111010.i7BAA53d012168>