~ubuntu-branches/ubuntu/jaunty/pcsc-lite/jaunty-security

« back to all changes in this revision

Viewing changes to debian/pcscd.init

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Rousseau
  • Date: 2007-11-07 16:25:00 UTC
  • Revision ID: james.westby@ubuntu.com-20071107162500-sq8ntgvqglwsrnjv
Tags: 1.4.4-2
* debian/watch: update URL to make it work again. Closes: #449679:
  "pcsc-lite: debian/watch fails to report upstream's version"
* debian/control: use Homepage: field

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
NAME=pcscd
25
25
DAEMON=/usr/sbin/$NAME
26
26
 
27
 
PIDFILE=/var/run/$NAME.pid
28
 
PUBFILE=/var/run/$NAME.pub
 
27
PIDFILE=/var/run/pcscd/$NAME.pid
 
28
PUBFILE=/var/run/pcscd/$NAME.pub
29
29
SCRIPTNAME=/etc/init.d/$NAME
30
30
 
31
31
# Gracefully exit if the package has been removed (but not purged).
37
37
# Define LSB log_* functions.
38
38
. /lib/lsb/init-functions
39
39
 
 
40
# get LANG variable (code from /etc/init.d/keymap.sh)
 
41
ENV_FILE="none"
 
42
[ -r /etc/environment ] && ENV_FILE="/etc/environment"
 
43
[ -r /etc/default/locale ] && ENV_FILE="/etc/default/locale"
 
44
 
 
45
value=$(egrep "^[^#]*LANG=" $ENV_FILE | tail -n1 | cut -d= -f2)
 
46
eval LANG=$value
 
47
 
40
48
#
41
49
# Function that starts the daemon/service
42
50
#