diff options
author | Matteo Riondato <matteo@FreeBSD.org> | 2006-01-22 18:37:51 +0000 |
---|---|---|
committer | Matteo Riondato <matteo@FreeBSD.org> | 2006-01-22 18:37:51 +0000 |
commit | f4c595b79445d309e3122865019264a5d78d1284 (patch) | |
tree | aad8d9a3f9358883185feb96d4887632acef33ec /usr.sbin/adduser/adduser.sh | |
parent | 3795fc308fc5b15439b7af52f6aa7a952a116735 (diff) | |
download | src-test2-f4c595b79445d309e3122865019264a5d78d1284.tar.gz src-test2-f4c595b79445d309e3122865019264a5d78d1284.zip |
Honour the "uuid" directive in adduser.conf
PR: conf/87914
Approved by: philip (mentor)
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=154688
Diffstat (limited to 'usr.sbin/adduser/adduser.sh')
-rw-r--r-- | usr.sbin/adduser/adduser.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/adduser/adduser.sh b/usr.sbin/adduser/adduser.sh index a8622b93881f..735d178c1aef 100644 --- a/usr.sbin/adduser/adduser.sh +++ b/usr.sbin/adduser/adduser.sh @@ -447,7 +447,10 @@ get_homedir() { # allocates one if it is not specified. # get_uid() { - uuid=${uidstart} + if [ -z "$uuid" ]; then + uuid=${uidstart} + fi + _input= _prompt= |