File: pcp.prerm

package info (click to toggle)
pcp 3.3.3-squeeze3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 14,452 kB
  • ctags: 9,608
  • sloc: ansic: 102,434; sh: 16,080; perl: 5,011; makefile: 2,275; yacc: 2,112; lex: 1,069; xml: 82; fortran: 60; java: 22; awk: 20
file content (12 lines) | stat: -rw-r--r-- 273 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e
#DEBHELPER#
if which invoke-rc.d >/dev/null 2>&1; then
    invoke-rc.d pmproxy stop
    invoke-rc.d pmie stop
    invoke-rc.d pcp stop
else
    /etc/init.d/pmproxy stop
    /etc/init.d/pmie stop
    /etc/init.d/pcp stop
fi
rm -f /var/lib/pcp/pmns/.NeedRebuild