File: postinst

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 265 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# postinst script for uanytun

set -e

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

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

#DEBHELPER#