From 406040364a957ee2bdfa49af65e3d2ae17cc66d9 Mon Sep 17 00:00:00 2001 From: bergware Date: Tue, 10 Oct 2023 15:07:19 +0200 Subject: [PATCH] rc.S.cont: fix variable name --- etc/rc.d/rc.S.cont | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc.d/rc.S.cont b/etc/rc.d/rc.S.cont index b4ff449ff..5e81b12f0 100755 --- a/etc/rc.d/rc.S.cont +++ b/etc/rc.d/rc.S.cont @@ -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