[BACK]Return to mdnsd CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc / rc.d

Annotation of src/etc/rc.d/mdnsd, Revision 1.1

1.1     ! tsarna      1: #!/bin/sh
        !             2: #
        !             3: # $NetBSD$
        !             4: #
        !             5:
        !             6: # PROVIDE: mdnsd
        !             7: # REQUIRE: SERVERS
        !             8:
        !             9: $_rc_subr_loaded . /etc/rc.subr
        !            10:
        !            11: name="mdnsd"
        !            12: rcvar=$name
        !            13: command="/usr/sbin/$name"
        !            14: pidfile="/var/run/mdnsd/${name}.pid"
        !            15: start_precmd="mdnsd_precmd"
        !            16:
        !            17: mdnsd_precmd()
        !            18: {
        !            19:     if [ ! -d /var/run/mdns ]; then
        !            20:         mkdir -p -m 755 /var/run/mdnsd
        !            21:     fi
        !            22:     chown _mdnsd:_mdnsd /var/run/mdnsd
        !            23: }
        !            24:
        !            25: load_rc_config $name
        !            26: run_rc_command "$1"

CVSweb <webmaster@jp.NetBSD.org>