document kernel command-line parameters
This commit is contained in:
2
init
2
init
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user