<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Frozen Industries &#187; shell</title>
	<atom:link href="http://www.frozenindustries.com/category/shell/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.frozenindustries.com</link>
	<description>A Project Blog</description>
	<lastBuildDate>Wed, 09 Nov 2011 01:58:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Start Folding@Home on Boot with Screen on Ubuntu Linux</title>
		<link>http://www.frozenindustries.com/2008/03/01/start-foldinghome-on-boot-with-screen-on-ubuntu-linux/</link>
		<comments>http://www.frozenindustries.com/2008/03/01/start-foldinghome-on-boot-with-screen-on-ubuntu-linux/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 20:19:31 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.frozenindustries.com/2008/03/01/start-foldinghome-on-boot-with-screen-on-ubuntu-linux/</guid>
		<description><![CDATA[Quick instructions to get Folding@home (or any other program) to run at boot before user login on Ubuntu Linux. This probably works on other distros with an rc.local file too. 1. Install F@H client, mine is in /opt/folding 2. Create a simple script, I called mine folding.sh and is only has: 1 2 3 #!/bin/bash [...]]]></description>
			<content:encoded><![CDATA[<p>Quick instructions to get Folding@home (or any other program) to run at boot before user login on Ubuntu Linux. This probably works on other distros with an rc.local file too.</p>
<p>1. Install F@H client, mine is in /opt/folding</p>
<p>2. Create a simple script, I called mine folding.sh and is only has:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>folding
.<span style="color: #000000; font-weight: bold;">/</span>fah6 <span style="color: #660033;">-smp</span></pre></td></tr></table></div>

<p>3. Put the screen command in /etc/rc.local. This will execute as user nick (su nick -c), &#8220;-dmS&#8221; will create the session detached and name it folding, and &#8220;bash &#8211;rcfile&#8221; will allow the screen session to keep running even if folding quits.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">su</span> nick <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;screen -dmS folding bash --rcfile /home/nick/bin/folding.sh&quot;</span></pre></td></tr></table></div>

<p>Folding@home now starts whenever the computer boots, before anyone logs in. Nick can reattach to it and  control it or watch the progress by running &#8220;screen -r folding&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frozenindustries.com/2008/03/01/start-foldinghome-on-boot-with-screen-on-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

