Skip to content

Instantly share code, notes, and snippets.

@bdwyertech
Created August 12, 2015 02:21
Show Gist options
  • Select an option

  • Save bdwyertech/3abe722530cfd4b1465a to your computer and use it in GitHub Desktop.

Select an option

Save bdwyertech/3abe722530cfd4b1465a to your computer and use it in GitHub Desktop.
Lenovo IX4-300D High CPU Usage Fix
#!/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
@bdwyertech

Copy link
Copy Markdown
Author

This isn't necessary anymore with the current firmware

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment