Skip to content

Commit

Permalink
Disable acpi power saving mode used by some CPUs
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-singla committed Feb 4, 2019
1 parent 3f138e8 commit a8bbeee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,10 @@ allow-hotplug eth0
iface eth0 inet dhcp
EOF

# Disable acpi power saving mode used by some CPUs
sudo LANG=C chroot $FILESYSTEM_ROOT /bin/bash -c 'echo "HandleLidSwitch=ignore" >> /etc/systemd/logind.conf'
sudo LANG=C chroot $FILESYSTEM_ROOT /bin/bash -c 'echo "IdleAction=ignore" >> /etc/systemd/logind.conf'

sudo cp files/dhcp/rfc3442-classless-routes $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d
sudo cp files/dhcp/sethostname $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d/
sudo cp files/dhcp/graphserviceurl $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d/
Expand Down

0 comments on commit a8bbeee

Please sign in to comment.