summaryrefslogtreecommitdiff
path: root/rc/bin/cpurc
diff options
context:
space:
mode:
authoraiju <aiju@phicode.de>2011-07-24 10:04:12 +0200
committeraiju <aiju@phicode.de>2011-07-24 10:04:12 +0200
commitf882472d0b67661c52bd7f0918d4d270b1bd99d9 (patch)
tree4020753791849992d67ed33141a2e52bbf2712ba /rc/bin/cpurc
parent5a3b13e26e788b823cc837a34580c07f967e2ec7 (diff)
downloadplan9front-f882472d0b67661c52bd7f0918d4d270b1bd99d9.tar.xz
cpurc: call cpustart
Diffstat (limited to 'rc/bin/cpurc')
-rwxr-xr-xrc/bin/cpurc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc/bin/cpurc b/rc/bin/cpurc
index e1f8b74ce..482b13259 100755
--- a/rc/bin/cpurc
+++ b/rc/bin/cpurc
@@ -69,6 +69,9 @@ case *
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)$'