boot(8): exec() bootrc instead of forkinga sub process
This commit is contained in:
parent
70176bc77e
commit
f9c92129f3
1 changed files with 1 additions and 1 deletions
|
@ -60,5 +60,5 @@ boot(int argc, char *argv[])
|
|||
snprint(buf, sizeof(buf), "/%s/bin", cputype);
|
||||
bind(buf, "/bin", MAFTER);
|
||||
bind("/rc/bin", "/bin", MAFTER);
|
||||
run("/bin/bootrc", nil);
|
||||
execl("/bin/bootrc", "bootrc", nil);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue