File: hylafax-server.prerm

package info (click to toggle)
hylafax 1%3A4.2.1-5sarge3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,788 kB
  • ctags: 7,523
  • sloc: sh: 15,597; ansic: 13,040; makefile: 1,772; cpp: 864
file content (11 lines) | stat: -rw-r--r-- 203 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh -e

#DEBHELPER#

if [ -x /etc/init.d/hylafax -a -e /var/spool/hylafax/etc/setup.cache -a \
	 $(ps --no-headers -Chfaxd,faxq,faxgetty | wc -l) -gt 0 ]
then
	/etc/init.d/hylafax stop
fi

exit 0