~ubuntu-branches/ubuntu/karmic/pdnsd/karmic

« back to all changes in this revision

Viewing changes to src/rc/RedHat/pdnsd.in

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Habouzit
  • Date: 2008-10-05 09:54:52 UTC
  • mfrom: (4.1.4 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081005095452-wc58cmdofvyipcv3
Tags: 1.2.6-par-10
* Add patches/0005-fix-for-CVE-2008-4194.patch for CVE-2008-4194.
  (Closes: #500910).
* Document where the two default configuration are in README.Debian
  (Closes: #499984).
* Update turkish translation thanks to Mert Dirik (Closes: #490047).

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
# Check that networking is up.
22
22
if [[ $NETWORKING == [Nn][Oo] ]]; then exit 0; fi
23
23
 
 
24
# Source sysconfig settings, if any.
 
25
if [ -f /etc/sysconfig/pdnsd ]; then . /etc/sysconfig/pdnsd; fi
 
26
 
24
27
start() {
25
28
        echo -n 'Starting pdnsd: '
26
 
        daemon @prefix@/sbin/pdnsd -d -s -p /var/run/pdnsd.pid
 
29
        daemon @prefix@/sbin/pdnsd -d -s -p /var/run/pdnsd.pid "$EXTRAOPTIONS"
27
30
        local RETVAL=$?
28
31
        echo
29
32
        if [ $RETVAL -eq 0 ]; then touch /var/lock/subsys/pdnsd; fi