From e402cd1dbaeac51c3b92d04e76d78a06e5c128d4 Mon Sep 17 00:00:00 2001 From: deischen 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 --- usr.sbin/adduser/adduser.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'usr.sbin') diff --git a/usr.sbin/adduser/adduser.sh b/usr.sbin/adduser/adduser.sh index f645f59..4b0a6f6 100644 --- a/usr.sbin/adduser/adduser.sh +++ b/usr.sbin/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.1