Debian Codegraph @

debian/rc.d-jove

raw
1 #!/bin/sh -e
2 #
3 # This file was automatically customized by debmake on Sun, 17 Dec 2000 14:36:36 +0100
4 #
5 # Written by Miquel van Smoorenburg <[email protected]>.
6 # Modified for Debian GNU/Linux by Ian Murdock <[email protected]>.
7 # Modified for Debian by Christoph Lameter <[email protected]>
8
9 . /lib/lsb/init-functions
10
11 ### BEGIN INIT INFO
12 # Provides: jove
13 # Required-Start: $remote_fs
14 # Required-Stop:
15 # Default-Start: 2 3 4 5
16 # Default-Stop:
17 # Short-Description: Recovers broken jove sessions.
18 # Description: Recovers broken jove sessions.
19 ### END INIT INFO
20
21
22 PATH=/bin:/usr/bin:/sbin:/usr/sbin
23 # The following value is extracted by debstd to figure out how to generate
24 # the postinst script. Edit the field to change the way the script is
25 # registered through update-rc.d (see the manpage for update-rc.d!)
26 FLAGS="start 50 S ."
27 # NO_RESTART_ON_UPGRADE
28
29 case "$1" in
30 start)
31 /usr/lib/jove/recover -syscrash
32 ;;
33 stop|status|reload|restart|force-reload)
34 ;;
35 *)
36 echo "Usage: /etc/init.d/jove {start|stop|restart|force-reload}"
37 exit 1
38 ;;
39 esac
40
41 exit 0