{"id":48,"date":"2010-09-20T12:56:39","date_gmt":"2010-09-20T11:56:39","guid":{"rendered":"http:\/\/blog.campodoro.org\/?p=48"},"modified":"2010-09-20T12:57:06","modified_gmt":"2010-09-20T11:57:06","slug":"disable-service-startup-in-linux","status":"publish","type":"post","link":"https:\/\/blog.campodoro.org\/?p=48","title":{"rendered":"Disable service startup in linux"},"content":{"rendered":"<p>My eTrayz NAS starts up with lots of services that I don&#8217;t need, like iTunes-server (mt-daapd), MiniDLNA, etc.<br \/>\nI put together this little script do easily check the current runlevel services and to disable them. Nothing spectacular but still \ud83d\ude42<br \/>\n<code><br \/>\n#!\/bin\/sh<br \/>\nchkconfig --list | grep \"3:on\"<\/p>\n<p>echo \"Enter service name:\"<br \/>\nread service<\/p>\n<p>echo \"Removing $service\"<br \/>\nchkconfig --del $service<br \/>\nfor i in 1 2 3 4 5 6; do<br \/>\n\tchkconfig --level $i $service off<br \/>\n\techo \"Service $service in runlevel $i turned off.\"<br \/>\ndone<br \/>\nchkconfig --list | grep -i $service<br \/>\n<\/code><\/p>\n<div class=\"tweetthis\" style=\"text-align:left;\"><p> <a class=\"tt\" href=\"http:\/\/twitter.com\/share?url=https:\/\/blog.campodoro.org\/?p=48&text=Disable+service+startup+in+linux+%23campodoro+%23tips+%23apple&via=goudkamp&related=richardxthripp%2Ctweetthisplugin\" title=\"Twitter\"><img decoding=\"async\" class=\"nothumb\" src=\"http:\/\/blog.campodoro.org\/wp-content\/plugins\/tweet-this\/icons\/en\/twitter\/tt-twitter.png\" alt=\"Post to Twitter\" \/><\/a> <a class=\"tt\" href=\"http:\/\/twitter.com\/share?url=https:\/\/blog.campodoro.org\/?p=48&text=Disable+service+startup+in+linux+%23campodoro+%23tips+%23apple&via=goudkamp&related=richardxthripp%2Ctweetthisplugin\" title=\"Twitter\">Tweet<\/a> <a class=\"tt\" href=\"http:\/\/delicious.com\/post?url=https:\/\/blog.campodoro.org\/?p=48&amp;title=Disable+service+startup+in+linux\" title=\"Post to Delicious\"><img decoding=\"async\" class=\"nothumb\" src=\"http:\/\/blog.campodoro.org\/wp-content\/plugins\/tweet-this\/icons\/en\/delicious\/tt-delicious.png\" alt=\"Post to Delicious\" \/><\/a> <a class=\"tt\" href=\"http:\/\/delicious.com\/post?url=https:\/\/blog.campodoro.org\/?p=48&amp;title=Disable+service+startup+in+linux\" title=\"Post to Delicious\">Post to Delicious<\/a> <a class=\"tt\" href=\"http:\/\/www.facebook.com\/share.php?u=https:\/\/blog.campodoro.org\/?p=48&amp;t=Disable+service+startup+in+linux\" title=\"Post to Facebook\"><img decoding=\"async\" class=\"nothumb\" src=\"http:\/\/blog.campodoro.org\/wp-content\/plugins\/tweet-this\/icons\/en\/facebook\/tt-facebook.png\" alt=\"Post to Facebook\" \/><\/a> <a class=\"tt\" href=\"http:\/\/www.facebook.com\/share.php?u=https:\/\/blog.campodoro.org\/?p=48&amp;t=Disable+service+startup+in+linux\" title=\"Post to Facebook\">Post to Facebook<\/a><\/p><\/div>","protected":false},"excerpt":{"rendered":"<p>My eTrayz NAS starts up with lots of services that I don&#8217;t need, like iTunes-server (mt-daapd), MiniDLNA, etc. I put together this little script do easily check the current runlevel services and to disable them. Nothing spectacular but still \ud83d\ude42 &hellip; <a href=\"https:\/\/blog.campodoro.org\/?p=48\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,10,8],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-etrayz","category-linux","category-menu"],"_links":{"self":[{"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=\/wp\/v2\/posts\/48"}],"collection":[{"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=48"}],"version-history":[{"count":0,"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=\/wp\/v2\/posts\/48\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.campodoro.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}