mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
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
This commit is contained in:
parent
e7e7593cd8
commit
a2cdef71d1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232146
|
@ -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): "
|
||||
|
|
Loading…
Reference in a new issue