Skip to content

Instantly share code, notes, and snippets.

@mgaulton
Forked from cam8001/go_lean.sh
Created May 26, 2016 21:30
Show Gist options
  • Save mgaulton/2b2e4d78593bbea4fcd8aab6fc6d0c23 to your computer and use it in GitHub Desktop.
Save mgaulton/2b2e4d78593bbea4fcd8aab6fc6d0c23 to your computer and use it in GitHub Desktop.
Disable all the stuff we don't need on a MyBookLive.
#!/bin/bash
# See http://mybookworld.wikidot.com/forum/t-583096
# See http://tech.roxee.tv/2012/06/12/solving-the-my-book-live-insane-load/
# http://community.wd.com/t5/My-Book-Live-Duo/New-MyBook-Duo-4Tb-astonishingly-slow-I-mean-really-soul/td-p/417642/page/5
# Disable all this stuff, but also make miocrawler drops its logs.
# vi /etc/rsyslog.d/miocrawler.conf
# [root@storagecasa rsyslog.d]# cat miocrawler.conf
## local4.* /var/log/miocrawler.log
# local4.* /dev/null
# Make mediacrawler service unexecutable, and disable the 'tally' script in miocrawler.conf.
/etc/init.d/nfs-kernel-server stop
/etc/init.d/nfs-common stop
/etc/init.d/netatalk stop
/etc/init.d/portmap stop
/etc/init.d/upnp_nas stop
/etc/init.d/mDNSResponder stop
/etc/init.d/smb-daemon stop
/etc/init.d/orion stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment