Created
August 12, 2015 02:21
-
-
Save bdwyertech/3abe722530cfd4b1465a to your computer and use it in GitHub Desktop.
Lenovo IX4-300D High CPU Usage Fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Lenovo IX4-300D High CPU Usage Fix | |
# Brian Dwyer - 8/11/15 | |
# Make a directory to mount the boot image | |
mkdir /tmp/mount | |
# Mount the boot image | |
mount -o loop /boot/images/apps /tmp/mount | |
# Fix the offending configuration, and back up the original | |
sed -i.bak "s~^extensions .mp3,.m4a,.m4p,.mp4,.m4v,.mov.*~extensions .mp3,.m4a~g" /tmp/mount/usr/local/mt-daapd/mt-daapd.conf | |
# Unmount the boot image | |
umount /tmp/mount |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This isn't necessary anymore with the current firmware