~ci-train-bot/lxc-android-config/lxc-android-config-ubuntu-xenial-landing-034

« back to all changes in this revision

Viewing changes to etc/init/no-cpu-hotplug.conf

  • Committer: Timo Jyrinki
  • Date: 2015-09-02 07:50:44 UTC
  • Revision ID: timo.jyrinki@canonical.com-20150902075044-5ciyo1ok3o12rwrz
ImportĀ 0.229

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
description     "disable cpu hotplugging during Ubuntu Touch boot"
 
2
 
 
3
start on local-filesystems
 
4
 
 
5
task
 
6
 
 
7
script
 
8
for cpu in /sys/devices/system/cpu/cpu?/online; do
 
9
        chmod 444 $cpu
 
10
done
 
11
end script