/mandos/trunk

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

« back to all changes in this revision

Viewing changes to init.d-mandos

  • Committer: Teddy Hogeborn
  • Date: 2009-01-06 22:49:50 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090106224950-2tfsnbvyuqeulo17
Eliminate warning on 64-bit systems, thanks to Frans Pop
<elendil@planet.nl> for reporting it:

* plugin-runner.c (main): Move "ssize_t sret" to function-wide scope.
                          Use it instead of "int ret" to store return
                          value from "read()".

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
### BEGIN INIT INFO
3
3
# Provides:          mandos
4
 
# Required-Start:    $remote_fs
 
4
# Required-Start:    $remote_fs avahi-daemon
5
5
# Required-Stop:     $remote_fs
6
6
# Default-Start:     2 3 4 5
7
7
# Default-Stop:      0 1 6
19
19
 
20
20
# PATH should only include /usr/* if it runs after the mountnfs.sh script
21
21
PATH=/sbin:/usr/sbin:/bin:/usr/bin
22
 
DESC="Gives encrypted passwords to Mandos clients"
 
22
DESC="Mandos root file system password server"
23
23
NAME=mandos
24
24
DAEMON=/usr/sbin/$NAME
25
25
DAEMON_ARGS=""
26
 
PIDFILE=/var/run/mandos/$NAME.pid
 
26
PIDFILE=/var/run/$NAME.pid
27
27
SCRIPTNAME=/etc/init.d/$NAME
28
28
 
29
29
# Exit if the package is not installed