Rewrite add user to reflect changes in adduser syntax

This commit is contained in:
2020-02-14 22:01:29 +01:00
parent 317b2088f0
commit 809d40e8a2

View File

@@ -33,10 +33,10 @@ step_3() {
return 0 return 0
fi fi
exe adduser \ exe adduser \
--disable-password \ --disabled-password \
--gecos "User to run $toolName Media Center" \ --gecos "User to run $toolName Media Center" \
-G audio,video,plugdev,input,tty \
$toolUser $toolUser
exe usermod -a -G audio,video,plugdev,input,tty $toolUser
saveReturn $? saveReturn $?
endReturn endReturn
echo "User $toolUser details:" echo "User $toolUser details:"
@@ -127,5 +127,5 @@ step_7() {
esac esac
} }
VERSION_SEQREV=4 VERSION_SEQREV=10
. sequencer.sh . /usr/local/bin/sequencer.sh