File: init.d

package info (click to toggle)
jove 4.16.0.72-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,012 kB
  • ctags: 2,932
  • sloc: ansic: 27,591; makefile: 472; sh: 46
file content (38 lines) | stat: -rw-r--r-- 1,061 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh -e
#
# This file was automatically customized by debmake on Sun, 17 Dec 2000 14:36:36 +0100
#
# Written by Miquel van Smoorenburg <miquels@cistron.nl>.
# Modified for Debian GNU/Linux by Ian Murdock <imurdock@gnu.org>.
# Modified for Debian by Christoph Lameter <clameter@debian.org>

### BEGIN INIT INFO
# Provides:	     jove
# Required-Start:    $remote_fs
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: Recovers broken jove sessions.
# Description:       Recovers broken jove sessions.
### END INIT INFO

PATH=/bin:/usr/bin:/sbin:/usr/sbin
# The following value is extracted by debstd to figure out how to generate
# the postinst script. Edit the field to change the way the script is
# registered through update-rc.d (see the manpage for update-rc.d!)
FLAGS="start 50 S ."
# NO_RESTART_ON_UPGRADE

case "$1" in
  start)
    /usr/lib/jove/recover -syscrash
    ;;
  stop|reload|restart|force-reload)
    ;;
  *)
    echo "Usage: /etc/init.d/jove {start|stop|restart|force-reload}"
    exit 1
    ;;
esac

exit 0