File: postinst

package info (click to toggle)
radsecproxy 1.11.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,420 kB
  • sloc: ansic: 12,097; sh: 1,963; makefile: 84
file content (16 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -e

if test "$1" = "configure"; then
    if ! getent passwd radsecproxy > /dev/null; then
        adduser --quiet --system --group \
                --home /nonexistent \
                --no-create-home \
                --disabled-password \
                radsecproxy
    fi
fi

#DEBHELPER#

exit 0