Skip to content

Instantly share code, notes, and snippets.

@cam8001
Last active January 10, 2022 04:50
Show Gist options
  • Save cam8001/ff5880d8a70e14661af2 to your computer and use it in GitHub Desktop.
Save cam8001/ff5880d8a70e14661af2 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