document kernel command-line parameters

This commit is contained in:
illiliti
2020-09-07 09:54:12 +03:00
parent da3671d873
commit a5c5f34a66
10 changed files with 568 additions and 258 deletions

2
init
View File

@@ -30,7 +30,7 @@ resolve_device()
# XXX what the hell happens here?
# why this loop sometimes trigger panic if i remove '|| :'
while [ ! -b "$device" ]; do sleep 1
[ "$((count += 1))" = 30 ] && {
[ "$((count += 1))" = "${rootdelay:=30}" ] && {
panic "failed to lookup partition"
break
}