From 76d0f9e9ec3baf020dc15096efe1edf25315ac2e Mon Sep 17 00:00:00 2001 From: Daniel Eischen Date: Sat, 25 Feb 2012 07:58:59 +0000 Subject: When using uidstart in /etc/adduser.conf, get the next available user id and show it in the "Uid [xxx]" prompt. PR: 163863 Submitted by: Moritz Wilhelmy (mw at wzff dot de) MFC after: 2 weeks --- adduser/adduser.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'adduser/adduser.sh') diff --git a/adduser/adduser.sh b/adduser/adduser.sh index f645f59..4b0a6f6 100644 --- a/adduser/adduser.sh +++ b/adduser/adduser.sh @@ -488,6 +488,7 @@ get_uid() { _prompt= if [ -n "$uuid" ]; then + uuid=`get_nextuid $uuid` _prompt="Uid [$uuid]: " else _prompt="Uid (Leave empty for default): " -- cgit v1.2.3-56-ge451