mirror of
https://github.com/unraid/webgui.git
synced 2026-01-05 17:20:04 -06:00
rc.S.cont: fix variable name
This commit is contained in:
@@ -224,7 +224,7 @@ if [[ -r /boot/config/passwd ]]; then
|
||||
if [[ $USERNAME == root ]]; then
|
||||
/bin/sed -i "s|^root:.*|root:x:0:0:$COMMENT:/root:/bin/bash|" /etc/passwd
|
||||
fi
|
||||
if (( USERID >= 1000 )); then
|
||||
if (( $USERID >= 1000 )); then
|
||||
/bin/echo "$USERNAME:x:$USERID:$GROUPID:$COMMENT:/:/bin/false" >> /etc/passwd
|
||||
fi
|
||||
done </boot/config/passwd
|
||||
|
||||
Reference in New Issue
Block a user