File: prerm

package info (click to toggle)
pmud 0.10-9.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 404 kB
  • ctags: 257
  • sloc: ansic: 2,984; sh: 486; tcl: 290; makefile: 104; perl: 35
file content (15 lines) | stat: -rw-r--r-- 184 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh
set -e

if [ -f /var/run/pmud.pid ]; then
    if [ -x /usr/sbin/invoke-rc.d ]
    then
	invoke-rc.d pmud stop
    else
	/etc/init.d/pmud stop
    fi
fi

#DEBHELPER#

exit 0