Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updated mDNSResponder code - and download issues fixed.



look at this

#!/bin/sh
#
# A startup script for the Rendezvous mDNS Responder
#
# chkconfig: 345 98 2
# description: This script is used to start the rendezvous \
# server as a background process.\
#
# Usage /etc/init.d/rendezvous start|stop|reload|restart|status

# Source function library.
. /etc/rc.d/init.d/functions


RDV_CONF=/etc/rendezvous.conf RDV_PID=/var/run/mDNSResponder.pid prog=Rendezvous exe=/usr/bin/mDNSResponderPosix

start() {
        echo -n "Starting $prog: "
        daemon $exe -f $RDV_CONF -d
        RETVAL=$?
        echo
}

stop() {
        echo -n "Stopping $prog: "
        killproc $exe -SIGINT
        RETVAL=$?
        echo
}

reload()
{
        echo -n $"Reloading $prog:"
        killproc $exe -HUP
        RETVAL=$?
        echo
}


case "$1" in start) start ;; stop) stop ;; reload) reload ;; restart) stop start ;; status) status $exe RETVAL=$? ;; *) echo "Usage: rendezvous {start|stop|reload|restart|status}" exit 1 esac _______________________________________________ rendezvous mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Updated mDNSResponder code - and download issues fixed. (From: Rui Carmo <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.