Mercurial > notdcc
comparison debian/dcc-client.init @ 6:c7785b85f2d2 default tip
Init scripts try to conform LSB header
author | Peter Gervai <grin@grin.hu> |
---|---|
date | Tue, 10 Mar 2009 15:15:36 +0100 |
parents | f6716cb00029 |
children |
comparison
equal
deleted
inserted
replaced
5:0a7a5940ee3a | 6:c7785b85f2d2 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 # | 2 # |
3 # dcc-client example file to build /etc/init.d/ scripts. | 3 # dcc-client example file to build /etc/init.d/ scripts. |
4 # This file should be used to construct scripts for /etc/init.d. | 4 # This file should be used to construct scripts for /etc/init.d. |
5 ### BEGIN INIT INFO | |
6 # Provides: dccifd | |
7 # Required-Start: $local_fs $network $named | |
8 # Required-Stop: $local_fs $network $named | |
9 # Default-Start: 2 3 4 5 | |
10 # Default-Stop: 0 1 6 | |
11 # Short-Description: Start nondcc interface daemon | |
12 # Description: Start nondcc interface daemon which interfaces with the dcc network | |
13 ### END INIT INFO | |
5 | 14 |
6 PATH=/sbin:/bin:/usr/sbin:/usr/bin | 15 PATH=/sbin:/bin:/usr/sbin:/usr/bin |
7 DAEMON=/usr/sbin/dccifd | 16 DAEMON=/usr/sbin/dccifd |
8 NAME=dccifd | 17 NAME=dccifd |
9 DESC="DCC program interface daemon" | 18 DESC="nonDCC program interface daemon" |
10 | 19 |
11 test -f $DAEMON || exit 0 | 20 test -f $DAEMON || exit 0 |
12 | 21 |
13 set -e | 22 set -e |
14 | 23 |