File: prerm

package info (click to toggle)
anytun 0.3.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,492 kB
  • sloc: cpp: 9,225; sh: 712; makefile: 398
file content (14 lines) | stat: -rwxr-xr-x 255 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# prerm script for anytun

set -e

if [ -x "/etc/init.d/anytun" ] && [ "$1" = remove ]; then
  if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
    invoke-rc.d anytun stop || true
  else
    /etc/init.d/anytun stop || true
  fi
fi

#DEBHELPER#