]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blame - debian/uuid-runtime.postinst
Merge branch 'maint' into next
[thirdparty/e2fsprogs.git] / debian / uuid-runtime.postinst
CommitLineData
740837de
TT
1#!/bin/sh
2
351db0b5 3set -e
26f29164 4if ! getent group | grep -q libuuid; then
46e770b2 5groupadd -f -K GID_MIN=1 -K GID_MAX=999 libuuid
26f29164
TT
6fi
7if ! getent passwd | grep -q libuuid; then
46e770b2
TT
8 useradd -d /var/lib/libuuid -K UID_MIN=1 -K UID_MAX=499 -g libuuid libuuid
9fi
740837de
TT
10chown libuuid:libuuid /usr/sbin/uuidd
11chmod 6755 /usr/sbin/uuidd
4b5d342b
TT
12
13#DEBHELPER#
14
15exit 0