File: atftpd.prerm

package info (click to toggle)
atftp 0.7.dfsg-11
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,136 kB
  • sloc: ansic: 6,651; sh: 4,107; makefile: 83
file content (16 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

# Stops daemon if it is running under our control
if [ -x /etc/init.d/atftpd ]; then 
    if [ -x /usr/sbin/invoke-rc.d ]; then
	invoke-rc.d --quiet atftpd stop
    else
	/etc/init.d/atftpd stop
    fi
fi	

#DEBHELPER#

exit 0