/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to init.d-mandos

  • Committer: Teddy Hogeborn
  • Date: 2013-12-14 03:11:30 UTC
  • mto: (237.7.272 trunk)
  • mto: This revision was merged to the branch mainline in revision 307.
  • Revision ID: teddy@recompile.se-20131214031130-xicrtjuxxttgqazf
Switch from avahi to avahi-daemon in initscript LSB dependencies

* init.d-mandos (Required-Start, Required-Stop):
  Change "avahi" to "avahi-daemon".

Reported-by: Laurent Bigonville <bigon@debian.org>
Suggested-by: Laurent Bigonville <bigon@debian.org>

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
# Author: Teddy Hogeborn <teddy@recompile.se>
13
13
# Author: Björn Påhlsson <belorn@recompile.se>
 
14
#
 
15
# Please remove the "Author" lines above and replace them
 
16
# with your own name if you copy and modify this script.
14
17
 
15
18
# Do NOT "set -e"
16
19
 
41
44
. /lib/init/vars.sh
42
45
 
43
46
# Define LSB log_* functions.
44
 
# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
45
 
# and status_of_proc is working.
 
47
# Depend on lsb-base (>= 3.2-14) to ensure that this file is present.
46
48
. /lib/lsb/init-functions
47
49
 
48
50
#
120
122
                2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
121
123
        esac
122
124
        ;;
123
 
  status)
124
 
        status_of_proc "$DAEMON" "$NAME" -p "$PIDFILE" && exit 0 || exit $?
125
 
        ;;
126
125
  #reload|force-reload)
127
126
        #
128
127
        # If do_reload() is not implemented then leave this commented out
149
148
                esac
150
149
                ;;
151
150
          *)
152
 
                # Failed to stop
 
151
                # Failed to stop
153
152
                log_end_msg 1
154
153
                ;;
155
154
        esac
156
155
        ;;
 
156
  status)
 
157
        status_of_proc "$DAEMON" "$NAME" -p "$PIDFILE"
 
158
        ;;
157
159
  *)
158
160
        #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
159
 
        echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
 
161
        echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
160
162
        exit 3
161
163
        ;;
162
164
esac