diff options
Diffstat (limited to 'core/util-linux/util-linux.install')
-rw-r--r-- | core/util-linux/util-linux.install | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/core/util-linux/util-linux.install b/core/util-linux/util-linux.install index 35f80e2a2..969a4aecf 100644 --- a/core/util-linux/util-linux.install +++ b/core/util-linux/util-linux.install @@ -1,13 +1,4 @@ post_install() { - # create user for uuidd - if ! getent group uuidd >/dev/null; then - groupadd -r uuidd - fi - - if ! getent passwd uuidd >/dev/null; then - useradd -r -s /sbin/nologin -d / -g uuidd uuidd - fi - # we don't want use systemd-tmpfiles here because # the package dependency would create a circular dep. if [ ! -d run/uuidd ]; then @@ -27,13 +18,3 @@ post_upgrade() { post_install } - -post_remove() { - if getent passwd uuidd >/dev/null; then - userdel uuidd - fi - - if getent group uuidd >/dev/null; then - userdel uuidd - fi -} |