~upstart-devel/upstart/upstart-jobs

1
2
3
4
5
6
7
8
9
10
11
12
description     "enable cpu hotplugging after Ubuntu Touch boot"

start on runlevel [2345]

task

script
sleep 60
for cpu in /sys/devices/system/cpu/cpu?/online; do
	chmod 644 $cpu
done
end script