usermod doesn't take --quiet
This commit is contained in:
parent
62ea0b69d6
commit
be984faa91
|
@ -155,10 +155,10 @@ EOF
|
||||||
echo "Reusing the alternc-mergelog account as a generic alternc account"
|
echo "Reusing the alternc-mergelog account as a generic alternc account"
|
||||||
# the uid is ugly. we should request allocation from
|
# the uid is ugly. we should request allocation from
|
||||||
# base-passwd instead
|
# base-passwd instead
|
||||||
usermod --quiet --uid 342 --shell /usr/bin/rbash --login alternc alternc-mergelog
|
usermod --uid 342 --shell /usr/bin/rbash --login alternc alternc-mergelog
|
||||||
# this is a separate step otherwise usermod will look for
|
# this is a separate step otherwise usermod will look for
|
||||||
# files to chown in /var/alternc, which takes a long time
|
# files to chown in /var/alternc, which takes a long time
|
||||||
usermod --quiet --home $ALTERNC_LOC alternc
|
usermod --home $ALTERNC_LOC alternc
|
||||||
fi
|
fi
|
||||||
if [ -d /var/run/alternc-mergelog/.ssh ]; then
|
if [ -d /var/run/alternc-mergelog/.ssh ]; then
|
||||||
echo "Cleaning up old alternc-mergelog home"
|
echo "Cleaning up old alternc-mergelog home"
|
||||||
|
|
Loading…
Reference in New Issue