scripts/mkusers: allow the creation of groups alone
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 21 Oct 2014 14:26:36 +0000 (11:26 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 22 Oct 2014 19:39:12 +0000 (21:39 +0200)
commit2ff8f54e7930b029ea6cdf6037af7437f2cc1919
tree2ba3f9e076236f7bd0e6076272bbe26c1ed0289c
parent9f13ddf3bab51ae762b82ce9f767ac1abcdb7b2e
scripts/mkusers: allow the creation of groups alone

Let mkusers create groups alone, useful for supplementary permissions in
udev/systemd for example where users can be added to later at runtime.
Use a magic string "-" to signal that user creation should be skipped.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/scripts/mkusers