shithub: riscv

Download patch

ref: f882472d0b67661c52bd7f0918d4d270b1bd99d9
parent: 5a3b13e26e788b823cc837a34580c07f967e2ec7
author: aiju <[email protected]>
date: Sun Jul 24 06:04:12 EDT 2011

cpurc: call cpustart

--- a/rc/bin/cpurc
+++ b/rc/bin/cpurc
@@ -69,6 +69,9 @@
 if(test -f /dev/apm)
 	aux/apm
 
+if(test -e /cfg/$sysname/cpustart)
+	. /cfg/$sysname/cpustart
+
 # mode of /proc/*/ctl is inherited across rfork, and sets modes on
 # other /proc files, such as note, so let listen be killed.
 dontkill '^(ipconfig|factotum|mntgen|venti|kfs|cwfs.*|cs|dns|reboot)$'