File: prerm

package info (click to toggle)
uanytun 0.3.7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 540 kB
  • sloc: ansic: 4,097; sh: 369; makefile: 172
file content (14 lines) | stat: -rwxr-xr-x 259 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# prerm script for uanytun

set -e

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

#DEBHELPER#