mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-24 02:25:03 +08:00
26f29164a4
Addresses-Debian-Bug: #497010 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
16 lines
321 B
Bash
16 lines
321 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
if ! getent group | grep -q libuuid; then
|
|
groupadd -f -K GID_MIN=1 -K GID_MAX=999 libuuid
|
|
fi
|
|
if ! getent passwd | grep -q libuuid; then
|
|
useradd -d /var/lib/libuuid -K UID_MIN=1 -K UID_MAX=499 -g libuuid libuuid
|
|
fi
|
|
chown libuuid:libuuid /usr/sbin/uuidd
|
|
chmod 6755 /usr/sbin/uuidd
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|