~upstart-devel/upstart/upstart-jobs

« back to all changes in this revision

Viewing changes to utopic/etc/init.d/stop-bootlogd

  • Committer: Dimitri John Ledkov
  • Date: 2014-05-06 18:45:46 UTC
  • Revision ID: dimitri.ledkov@canonical.com-20140506184546-5toyx56xxrue0f0v
auto update

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
### BEGIN INIT INFO
 
3
# Provides:          stop-bootlogd
 
4
# Required-Start:    $local_fs $all
 
5
# Required-Stop:
 
6
# Default-Start:     2 3 4 5
 
7
# Default-Stop:
 
8
# Short-Description: Stop bootlogd
 
9
# Description:       See the init.d/bootlogd script
 
10
### END INIT INFO
 
11
 
 
12
NAME=stop-bootlogd
 
13
DAEMON=/sbin/bootlogd
 
14
 
 
15
[ -x "$DAEMON" ] || exit 0
 
16
 
 
17
case "$1" in
 
18
  start)
 
19
        /etc/init.d/bootlogd stop
 
20
        ;;
 
21
  stop|restart|force-reload)
 
22
        # No-op
 
23
        ;;
 
24
  status)
 
25
        exec /etc/init.d/bootlogd status
 
26
        ;;
 
27
  *)
 
28
        echo "Usage: $NAME {start|stop|restart|force-reload}" >&2
 
29
        exit 3
 
30
        ;;
 
31
esac
 
32
 
 
33
: