aboutsummaryrefslogtreecommitdiff
path: root/scripts/mkroot.sh
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-01-17 20:30:34 -0600
committerRob Landley <rob@landley.net>2020-01-17 20:30:34 -0600
commit4422e90dc04cb890e6bd3f9fb8db8e4cd79834ff (patch)
tree88c6d555f2483b57ce6fed8fc1ac7d821ed26adc /scripts/mkroot.sh
parentdd75e81e3d3aeb02c6edf7df81cf969c548d9be6 (diff)
downloadtoybox-4422e90dc04cb890e6bd3f9fb8db8e4cd79834ff.tar.gz
Denys Nykula noticed leftover debris from trying to turn the /etc/passwd
HERE document into an echo ala group. (It wasn't easily coerced into 80 columns and having it be multiple echoes was about as ugly as the HERE document, so I undid it again and missed a bit.)
Diffstat (limited to 'scripts/mkroot.sh')
-rwxr-xr-xscripts/mkroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkroot.sh b/scripts/mkroot.sh
index e27c06b4..d486907e 100755
--- a/scripts/mkroot.sh
+++ b/scripts/mkroot.sh
@@ -95,7 +95,7 @@ chmod +x "$ROOT"/init &&
# passwd and group with kernel special accounts (root and nobody) + guest user
cat > "$ROOT"/etc/passwd << 'EOF' &&
-echo -e 'root::0:0:root:/root:/bin/sh
+root::0:0:root:/root:/bin/sh
guest:x:500:500:guest:/home/guest:/bin/sh
nobody:x:65534:65534:nobody:/proc/self:/dev/null
EOF