~ubuntu-branches/ubuntu/intrepid/gsmlib/intrepid

« back to all changes in this revision

Viewing changes to debian/gsm-utils.init

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman, debian/gsm-utils.postinst, debian/gsm-utils.init
  • Date: 2006-07-11 13:59:12 UTC
  • Revision ID: james.westby@ubuntu.com-20060711135912-8ca36cxe97j9fiwb
Tags: 1.10-10ubuntu2
[debian/gsm-utils.postinst, debian/gsm-utils.init]
Create /var/run/gsm-utils if it does not exist

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
test -n "$SMSUSER" && STARTOPTS="$STARTOPTS --chuid $SMSUSER"
28
28
test -r /etc/default/gsm-utils && . /etc/default/gsm-utils  # for overwriting OPTIONS
29
29
 
 
30
if [ ! -d /var/run/gsm-utils ]; then
 
31
  mkdir /var/run/gsm-utils
 
32
  chown gsmsms:gsmsms /var/run/gsm-utils
 
33
fi
 
34
 
30
35
case "$1" in
31
36
  start)
32
37
        echo -n "Starting $DESC: "