~ubuntu-branches/ubuntu/vivid/minissdpd/vivid

« back to all changes in this revision

Viewing changes to debian/init

  • Committer: Package Import Robot
  • Author(s): Thomas Goirand
  • Date: 2011-10-27 19:28:20 UTC
  • Revision ID: package-import@ubuntu.com-20111027192820-u0rlp8nvw63011le
Tags: 1.1.20111007-3
Exits if binary isn't found (Closes: #646746).

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
        exit 0
36
36
fi
37
37
 
 
38
# Exit if package is removed but not purged
 
39
if ! [ -x /usr/sbin/minissdpd ] ; then
 
40
        exit 0
 
41
fi
 
42
 
38
43
case "$1" in
39
44
        start)
40
45
                log_daemon_msg "Starting UPnP devices daemon" "MiniSSDPd"