<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Adding a startup script to be run at bootup</title>
	<atom:link href="http://embraceubuntu.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/feed/" rel="self" type="application/rss+xml" />
	<link>http://embraceubuntu.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/</link>
	<description>Not quite everything about Ubuntu, but close.</description>
	<lastBuildDate>Thu, 09 Feb 2012 12:25:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: martin</title>
		<link>http://embraceubuntu.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-160069</link>
		<dc:creator><![CDATA[martin]]></dc:creator>
		<pubDate>Wed, 25 Jan 2012 13:46:45 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-160069</guid>
		<description><![CDATA[The previous post left out some critical syntax, here it is a again, hopefully posting correctly this time.

-----------------------------
# You must install the sendEmail program (not the sendmail), 
# sudo apt-get install sendemail 
#
## send to cell phone that system was rebooted
#
# sendEmail -f laptop_reboot`date +%Y%b%a%d_%H%M`@your-email-domain.com -t your-cell-phone-number@your-cellphone-carrier.com -u &quot;subject line laptop Restart&quot; -m &quot;message Started on &quot;`date +%Y%b%a%d_%H%M` -s smtpauth.your-email-carrier.net -xu your-email-login -xp your-email-login

#
## send email that system was rebooted
#
# sendEmail -f laptop_reboot`date +%Y%b%a%d_%H%M`@gmail.com -t your-email-address -u &quot;subject line laptop Restart&quot; -m &quot;message Started on &quot;`date +%Y%b%a%d_%H%M` -s smtpauth.your-email-carrier.net -xu your-email-login -xp your-email-login]]></description>
		<content:encoded><![CDATA[<p>The previous post left out some critical syntax, here it is a again, hopefully posting correctly this time.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
# You must install the sendEmail program (not the sendmail),<br />
# sudo apt-get install sendemail<br />
#<br />
## send to cell phone that system was rebooted<br />
#<br />
# sendEmail -f laptop_reboot`date +%Y%b%a%d_%H%M`@your-email-domain.com -t <a href="mailto:your-cell-phone-number@your-cellphone-carrier.com">your-cell-phone-number@your-cellphone-carrier.com</a> -u &#8220;subject line laptop Restart&#8221; -m &#8220;message Started on &#8220;`date +%Y%b%a%d_%H%M` -s smtpauth.your-email-carrier.net -xu your-email-login -xp your-email-login</p>
<p>#<br />
## send email that system was rebooted<br />
#<br />
# sendEmail -f laptop_reboot`date +%Y%b%a%d_%H%M`@gmail.com -t your-email-address -u &#8220;subject line laptop Restart&#8221; -m &#8220;message Started on &#8220;`date +%Y%b%a%d_%H%M` -s smtpauth.your-email-carrier.net -xu your-email-login -xp your-email-login</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: martin</title>
		<link>http://embraceubuntu.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-160068</link>
		<dc:creator><![CDATA[martin]]></dc:creator>
		<pubDate>Wed, 25 Jan 2012 13:38:39 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-160068</guid>
		<description><![CDATA[Send an email and message to your cell when system reboots:

#
## send to cell phone that system was rebooted
#
# sendEmail -f laptop_reboot`date +%Y%b%a%d_%H%M`@gmail.com -t @ -u &quot; laptop Restart&quot; -m &quot; Started on &gt; &quot;`date +%Y%b%a%d_%H%M` -s smtpauth..net -xu  -xp 

#
## send email that system was rebooted
#
# sendEmail -f laptop_reboot`date +%Y%b%a%d_%H%M`@gmail.com -t  -u &quot; laptop Restart&quot; -m &quot; Started on &gt; &quot;`date +%Y%b%a%d_%H%M` -s smtpauth..net -xu  -xp 

--------------------------------
Adding a startup script to be run at bootup
    
    /September 7, 2005/

/Posted by Carthik in ubuntu .
trackback

/

So you have a script of your own that you want to run at bootup, each time you boot up. This will tell you how to do that.

Write a script. put it in the /etc/init.d/ directory &gt; sudo cp reboot-send-email.sh /etc/init.d/
Lets say you called it reboot-send-email.sh. You then run

sudo update-rc.d reboot-send-email.sh defaults

You also have to make the file you created, reboot-send-email.sh, executable, using
sudo chmod +x /etc/init.d/reboot-send-email.sh]]></description>
		<content:encoded><![CDATA[<p>Send an email and message to your cell when system reboots:</p>
<p>#<br />
## send to cell phone that system was rebooted<br />
#<br />
# sendEmail -f laptop_reboot`date +%Y%b%a%d_%H%M`@gmail.com -t @ -u &#8221; laptop Restart&#8221; -m &#8221; Started on &gt; &#8220;`date +%Y%b%a%d_%H%M` -s smtpauth..net -xu  -xp </p>
<p>#<br />
## send email that system was rebooted<br />
#<br />
# sendEmail -f laptop_reboot`date +%Y%b%a%d_%H%M`@gmail.com -t  -u &#8221; laptop Restart&#8221; -m &#8221; Started on &gt; &#8220;`date +%Y%b%a%d_%H%M` -s smtpauth..net -xu  -xp </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Adding a startup script to be run at bootup</p>
<p>    /September 7, 2005/</p>
<p>/Posted by Carthik in ubuntu .<br />
trackback</p>
<p>/</p>
<p>So you have a script of your own that you want to run at bootup, each time you boot up. This will tell you how to do that.</p>
<p>Write a script. put it in the /etc/init.d/ directory &gt; sudo cp reboot-send-email.sh /etc/init.d/<br />
Lets say you called it reboot-send-email.sh. You then run</p>
<p>sudo update-rc.d reboot-send-email.sh defaults</p>
<p>You also have to make the file you created, reboot-send-email.sh, executable, using<br />
sudo chmod +x /etc/init.d/reboot-send-email.sh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kaa1</title>
		<link>http://embraceubuntu.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-159845</link>
		<dc:creator><![CDATA[kaa1]]></dc:creator>
		<pubDate>Mon, 16 Jan 2012 23:59:47 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-159845</guid>
		<description><![CDATA[Great info, it did the job as expected thanks for sharing.]]></description>
		<content:encoded><![CDATA[<p>Great info, it did the job as expected thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: konteynerler</title>
		<link>http://embraceubuntu.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-159832</link>
		<dc:creator><![CDATA[konteynerler]]></dc:creator>
		<pubDate>Mon, 16 Jan 2012 13:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-159832</guid>
		<description><![CDATA[Luckily, no one was injured or killed in the event as we&#039;re well ahead tourist season, but it is unknown how this might affect access to the park for this summer.]]></description>
		<content:encoded><![CDATA[<p>Luckily, no one was injured or killed in the event as we&#8217;re well ahead tourist season, but it is unknown how this might affect access to the park for this summer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Running scripts on startup/shutdown @Ubuntu &#171; gokceng</title>
		<link>http://embraceubuntu.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-159717</link>
		<dc:creator><![CDATA[Running scripts on startup/shutdown @Ubuntu &#171; gokceng]]></dc:creator>
		<pubDate>Fri, 13 Jan 2012 13:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-159717</guid>
		<description><![CDATA[[...] I need to remove locks and give appropriate permissions to ports on startup. Today I saw a post @  http://embraceubuntu.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/ and I tried it on my pc. I&#8217;m using Ubuntu [...]]]></description>
		<content:encoded><![CDATA[<p>[...] I need to remove locks and give appropriate permissions to ports on startup. Today I saw a post @  http://embraceubuntu.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/ and I tried it on my pc. I&#8217;m using Ubuntu [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Луганск</title>
		<link>http://embraceubuntu.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-159665</link>
		<dc:creator><![CDATA[Луганск]]></dc:creator>
		<pubDate>Thu, 12 Jan 2012 11:39:58 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-159665</guid>
		<description><![CDATA[Thank you a bunch for sharing this with all of us you really recognise what you&#039;re speaking approximately! Bookmarked. Kindly also talk over with my web site =). We could have a link alternate agreement between us]]></description>
		<content:encoded><![CDATA[<p>Thank you a bunch for sharing this with all of us you really recognise what you&#8217;re speaking approximately! Bookmarked. Kindly also talk over with my web site =). We could have a link alternate agreement between us</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: considering self employment</title>
		<link>http://embraceubuntu.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-159593</link>
		<dc:creator><![CDATA[considering self employment]]></dc:creator>
		<pubDate>Tue, 10 Jan 2012 15:15:36 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-159593</guid>
		<description><![CDATA[Hey very cool blog!! Guy .. Excellent .. Superb .. I will bookmark your website and take the feeds also?I&#039;m glad to search out so many useful info here in the put up, we need work out extra strategies in this regard, thanks for sharing. . . . . .]]></description>
		<content:encoded><![CDATA[<p>Hey very cool blog!! Guy .. Excellent .. Superb .. I will bookmark your website and take the feeds also?I&#8217;m glad to search out so many useful info here in the put up, we need work out extra strategies in this regard, thanks for sharing. . . . . .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Business Startup Coach</title>
		<link>http://embraceubuntu.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-159427</link>
		<dc:creator><![CDATA[Business Startup Coach]]></dc:creator>
		<pubDate>Fri, 06 Jan 2012 17:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-159427</guid>
		<description><![CDATA[I am extremely inspired with your writing talents and also with the structure on your weblog. Is this a paid topic or did you customize it your self? Anyway keep up the nice quality writing, it is uncommon to look a great weblog like this one today..]]></description>
		<content:encoded><![CDATA[<p>I am extremely inspired with your writing talents and also with the structure on your weblog. Is this a paid topic or did you customize it your self? Anyway keep up the nice quality writing, it is uncommon to look a great weblog like this one today..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LG Optimus Speed P990 - Stock ROM mod by topogigi GB 2.3 [Rom] - Seite 116</title>
		<link>http://embraceubuntu.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-158082</link>
		<dc:creator><![CDATA[LG Optimus Speed P990 - Stock ROM mod by topogigi GB 2.3 [Rom] - Seite 116]]></dc:creator>
		<pubDate>Thu, 01 Dec 2011 10:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-158082</guid>
		<description><![CDATA[[...]  [...]]]></description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Atharva (@patelatharva)</title>
		<link>http://embraceubuntu.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-157453</link>
		<dc:creator><![CDATA[Atharva (@patelatharva)]]></dc:creator>
		<pubDate>Sat, 19 Nov 2011 04:47:37 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/#comment-157453</guid>
		<description><![CDATA[@samyboy 

update-rc.d -f my-script.sh start 99 2 3 4 5 . 

worked well.

just a note for the viewers: 
my-script.sh file should be in /etc/init.d folder and you must have made it executable by doing &quot;sudo chmod +x my-script.sh&quot;]]></description>
		<content:encoded><![CDATA[<p>@samyboy </p>
<p>update-rc.d -f my-script.sh start 99 2 3 4 5 . </p>
<p>worked well.</p>
<p>just a note for the viewers:<br />
my-script.sh file should be in /etc/init.d folder and you must have made it executable by doing &#8220;sudo chmod +x my-script.sh&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

