You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
267 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2006 OpenWrt.org
  3. START=61
  4. BIN=avahi-daemon
  5. DEFAULT=/etc/default/$BIN
  6. OPTIONS="-D"
  7. RUN_D=/var/run/$BIN
  8. start() {
  9. [ -f $DEFAULT ] && . $DEFAULT
  10. mkdir -p $RUN_D
  11. $BIN $OPTIONS
  12. }
  13. stop() {
  14. $BIN -k
  15. }
  16. reload() {
  17. $BIN -r
  18. }