21 lines · 391 B · Text
RawDownload
/^$/achar*	localroot;./fd = \(\*mp->connect\)/a	if(localroot){		bind(localroot, "/", MAFTER);		srvcreate("boot", fd);		goto Init;	}./cmd = getenv/iInit:	cpuflag = (strcmp(getenv("service"), "cpu") == 0);./if\(cmd == nil\)/ a		sprint(cmdbuf, "/%s/init", cputype);		if(stat(cmdbuf, statbuf, sizeof statbuf) < 0)			sprint(cmdbuf, "/%s/bin/rc", cputype);		else.+;/;$/ s/^/	/