File: postinst

package info (click to toggle)
anytun 0.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,424 kB
  • sloc: cpp: 9,149; sh: 708; makefile: 396
file content (14 lines) | stat: -rwxr-xr-x 260 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# postinst script for anytun

set -e

if [ -x "/etc/init.d/anytun" ]; then
  update-rc.d anytun defaults >/dev/null
fi

if [ "$1" = "configure" ]; then
  adduser --quiet --system --group --no-create-home --home /var/run/anytun anytun
fi

#DEBHELPER#