~ubuntu-branches/ubuntu/gutsy/dhcp/gutsy-updates

« back to all changes in this revision

Viewing changes to debian/dhcp-relay.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Eloy A. Paris
  • Date: 2004-05-26 12:00:58 UTC
  • Revision ID: james.westby@ubuntu.com-20040526120058-w2v4k2cstzp3qvfb
Tags: 2.0pl5-19
Use invoke-rc.d if available when starting the DHCP server.
(Closes: #250878)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
#
 
3
# $Id: dhcp-relay.postrm,v 1.2.2.3 2004/05/26 17:09:09 peloy Exp $
 
4
#
 
5
 
 
6
if [ "$1" = "purge" ]; then
 
7
    # Remove init.d configuration file
 
8
    rm -f /etc/default/dhcp-relay
 
9
 
 
10
    update-rc.d dhcp-relay remove >/dev/null
 
11
fi
 
12
 
 
13
#DEBHELPER#
 
14
 
 
15
exit 0