rc.S.cont: fix variable name

This commit is contained in:
bergware
2023-10-10 15:07:19 +02:00
parent 33ae31abc8
commit 406040364a

View File

@@ -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