Rewrite add user to reflect changes in adduser syntax
This commit is contained in:
@@ -33,10 +33,10 @@ step_3() {
|
||||
return 0
|
||||
fi
|
||||
exe adduser \
|
||||
--disable-password \
|
||||
--disabled-password \
|
||||
--gecos "User to run $toolName Media Center" \
|
||||
-G audio,video,plugdev,input,tty \
|
||||
$toolUser
|
||||
exe usermod -a -G audio,video,plugdev,input,tty $toolUser
|
||||
saveReturn $?
|
||||
endReturn
|
||||
echo "User $toolUser details:"
|
||||
@@ -127,5 +127,5 @@ step_7() {
|
||||
esac
|
||||
}
|
||||
|
||||
VERSION_SEQREV=4
|
||||
. sequencer.sh
|
||||
VERSION_SEQREV=10
|
||||
. /usr/local/bin/sequencer.sh
|
||||
|
Reference in New Issue
Block a user