Magellan Linux

Diff of /trunk/avahi/avahi-daemon.rc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 775 by niro, Tue Apr 28 16:44:27 2009 UTC revision 776 by niro, Tue Apr 28 16:55:48 2009 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  # $Header: /root/magellan-cvs/src/avahi/avahi-daemon.rc,v 1.1 2009-04-28 16:44:27 niro Exp $  # $Header: /root/magellan-cvs/src/avahi/avahi-daemon.rc,v 1.2 2009-04-28 16:55:48 niro Exp $
3    
4  #%rlevels: 3:s 4:s 5:s 0:k 6:k  #%rlevels: 3:s 4:s 5:s 0:k 6:k
5  #%start: 80  #%start: 80
# Line 17  source $rc_functions Line 17  source $rc_functions
17  case "$1" in  case "$1" in
18   start)   start)
19   echo -e ${COLOREDSTAR}"Starting avahi-daemon ..."   echo -e ${COLOREDSTAR}"Starting avahi-daemon ..."
20   /sbin/avahi-daemon -D   /usr/sbin/avahi-daemon -D
21   evaluate_retval   evaluate_retval
22    
23   update_svcstatus $1   update_svcstatus $1
# Line 26  case "$1" in Line 26  case "$1" in
26    
27   stop)   stop)
28   echo -e ${COLOREDSTAR}"Stopping avahi-daemon ..."   echo -e ${COLOREDSTAR}"Stopping avahi-daemon ..."
29   /sbin/avahi-daemon -k   /usr/sbin/avahi-daemon -k
30   evaluate_retval   evaluate_retval
31    
32   update_svcstatus $1   update_svcstatus $1
# Line 35  case "$1" in Line 35  case "$1" in
35    
36   reload)   reload)
37   echo -e ${COLOREDSTAR}"Reloading avahi-daemon ..."   echo -e ${COLOREDSTAR}"Reloading avahi-daemon ..."
38   /sbin/avahi-daemon -r   /usr/sbin/avahi-daemon -r
39   evaluate_retval   evaluate_retval
40   ;;   ;;
41    

Legend:
Removed from v.775  
changed lines
  Added in v.776