packages/libs/howl/files/mDNSResponder.init

17 lines
290 B
Plaintext
Raw Normal View History

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
DEFAULT=/etc/default/mDNSResponder
RUN_D=/var/run
PID_F=$RUN_D/mDNSResponder.pid
[ -f $DEFAULT ] && . $DEFAULT
start() {
[ -d $RUN_D ] || mkdir -p $RUN_D
mDNSResponder $OPTIONS
}
stop() {
[ -f $PID_F ] && kill $(cat $PID_F)
}