<?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>Blog by Andreas Glaser &#187; Linux Shell Script</title>
	<atom:link href="http://www.andreas-glaser.com/category/development/shell-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andreas-glaser.com</link>
	<description>Development, Technology and such...</description>
	<lastBuildDate>Mon, 09 Aug 2010 15:48:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>SRCDS Linux Startscript 1.2</title>
		<link>http://www.andreas-glaser.com/2009/02/17/srcds-linux-startscript-12/</link>
		<comments>http://www.andreas-glaser.com/2009/02/17/srcds-linux-startscript-12/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 19:34:24 +0000</pubDate>
		<dc:creator>Andreas Glaser</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Shell Script]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Screen]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[SRCDS]]></category>

		<guid isPermaLink="false">http://www.andreas-glaser.com/?p=309</guid>
		<description><![CDATA[1. SRCDS Linux Startscript This little shell script makes it easier for you to start a SRCDS under linux. It provides you with a set of parameters to start every kind of a SRCDS. 2. How to use: After you successfully installed a Source Dedicated Server (SRCDS) under Linux you just have to download the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><strong>1. SRCDS Linux Startscript<br />
</strong></p>
<p style="text-align: left;">This little shell script makes it easier for you to start a SRCDS under linux. It provides you with a set of parameters to start every kind of a SRCDS.</p>
<p><strong>2. How to use:</strong></p>
<p>After you successfully installed a Source Dedicated Server (SRCDS) under Linux you just have to download the startscript at the bottom of this post.<br />
Save the &#8220;startscript.sh&#8221; into the root directory of your SRCDS  and change the permission to &#8220;u + x&#8221;.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p309code4'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3094"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p309code4"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> u + x startscript.sh</pre></td></tr></table></div>

<p>Now open the start script with your preferred editor (vim, joe, mono etc.) and customize the configuration variables to your system.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p309code5'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3095"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
</pre></td><td class="code" id="p309code5"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">############################*</span>
<span style="color: #666666; font-style: italic;"># Configuration (Required):</span>
<span style="color: #666666; font-style: italic;">#</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|</span>
<span style="color: #666666; font-style: italic;"># |~~ 1. SYSTEM PARAMETERS ~~~~~~~~~~|</span>
<span style="color: #666666; font-style: italic;"># |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Set the user who owns the CounterStrike Server (root is not recommended)</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: Existing user on your system</span>
<span style="color: #007800;">SYS_USER</span>=<span style="color: #ff0000;">&quot;css-001&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Path to the root directory of your server</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: System path</span>
<span style="color: #007800;">SYS_DIR</span>=<span style="color: #ff0000;">&quot;/path/to/your/server/&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Server daemon</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: srcds_run - srcds_amd - srcds_i486 - srcds_i686</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: srcds_run</span>
<span style="color: #007800;">SYS_DAEMON</span>=<span style="color: #ff0000;">&quot;srcds_run&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Descripton: Set the priority (niceness) of the server. Highest priority: -20 Lowest priority: 19</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: 0</span>
<span style="color: #007800;">SYS_NICE</span>=<span style="color: #ff0000;">&quot;0&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Name: Name of your server</span>
<span style="color: #007800;">SYS_NAME</span>=<span style="color: #ff0000;">&quot;CSS-001&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Description of the server</span>
<span style="color: #007800;">SYS_DESC</span>=<span style="color: #ff0000;">&quot;My first SRCDS Server&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|</span>
<span style="color: #666666; font-style: italic;"># |~~ 2. SERVER START PARAMETER ~~~~~|</span>
<span style="color: #666666; font-style: italic;"># |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Define which kind of srcds game should be started</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: Counter-Strike Source - ageofchicalry - diprip - dods - dystopia - esmod - garrysmod - hl2mp - insurgency</span>
<span style="color: #666666; font-style: italic;"># ~~         l4d_full - left4dead - synergy - tf - zps - cstrike - cstrike_beta - czero - dmc - dod - gearbox - ricochet</span>
<span style="color: #666666; font-style: italic;"># ~~         tfc - valve - darkmessiah - diprip - marenosturm - redorchestra - ship - sin - tshb</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: Counter-Strike Source</span>
<span style="color: #007800;">SYS_GAME</span>=<span style="color: #ff0000;">&quot;Counter-Strike Source&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: IPv4 Address of your server</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: XXX.XXX.XXX.XXX</span>
<span style="color: #007800;">START_PARAMS_IP</span>=<span style="color: #ff0000;">&quot;127.0.0.1&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Port of your server</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: Between 0 and 65535</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: 27015</span>
<span style="color: #007800;">START_PARAMS_PORT</span>=<span style="color: #ff0000;">&quot;27015&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Defines the default map</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: Requires an installed map on your server</span>
<span style="color: #007800;">START_PARAMS_MAP</span>=<span style="color: #ff0000;">&quot;de_dust2&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Defines the amount of player slots</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: Between 1 and 32</span>
<span style="color: #007800;">START_PARAMS_MAXPLAYERS</span>=<span style="color: #ff0000;">&quot;32&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Defines whether VAC (Valve Anti Cheat) is activated</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: secure / insecure</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: secure</span>
<span style="color: #007800;">START_PARAMS_SECURE</span>=<span style="color: #ff0000;">&quot;secure&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Pingboost</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: 0 / 1 / 2 / 3</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: 0</span>
<span style="color: #007800;">START_PARAMS_PINGBOOST</span>=<span style="color: #ff0000;">&quot;0&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Defines the tickrate</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: 33 / 66 / 100</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: 33</span>
<span style="color: #007800;">START_PARAMS_TICKRATE</span>=<span style="color: #ff0000;">&quot;33&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># CONFIGURATION END</span>
<span style="color: #666666; font-style: italic;">############################*</span></pre></td></tr></table></div>

<p>After this step just execute the startscript.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p309code6'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3096"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p309code6"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span> startscript.sh start</pre></td></tr></table></div>

<p>Thats it!</p>
<p><strong>Required Linux packages</strong></p>
<ul>
<li><a title="http://www.google.com/linux?hl=en&amp;q=screen&amp;btnG=Search" href="http://www.google.com/linux?hl=en&amp;q=screen&amp;btnG=Search" target="_blank">screen</a></li>
</ul>
<p><strong>Download</strong></p>
Note: There is a file embedded within this post, please visit this post to download the file.
<p><strong>So long,<br />
Andreas Glaser aka JaZz<br />
</strong></p>
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.andreas-glaser.com/2009/02/17/srcds-linux-startscript-12/&amp;layout=standard&amp;show_faces=true&amp;width=260&amp;action=like&amp;colorscheme=light' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:260px; height:26px'></iframe></p>]]></content:encoded>
			<wfw:commentRss>http://www.andreas-glaser.com/2009/02/17/srcds-linux-startscript-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CounterStrike Source Linux Server Startscript</title>
		<link>http://www.andreas-glaser.com/2008/09/05/counterstrike-source-linux-server-startscript/</link>
		<comments>http://www.andreas-glaser.com/2008/09/05/counterstrike-source-linux-server-startscript/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 17:01:10 +0000</pubDate>
		<dc:creator>Andreas Glaser</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Shell Script]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[Awk]]></category>
		<category><![CDATA[CounterStrike]]></category>
		<category><![CDATA[Screen]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Source]]></category>
		<category><![CDATA[Start]]></category>

		<guid isPermaLink="false">http://www.andreas-glaser.com/?p=103</guid>
		<description><![CDATA[Here it is&#8230; a well commented and easy for rookies to understand CounterStrike Source Linux Server Startscript. It includes all basic start parameter as well as a good error display system. How to use: After you successfully installed a Counterstrike Source Server under Linux with the SRCDS tool you just have to download the startscript [...]]]></description>
			<content:encoded><![CDATA[<p>Here it is&#8230; a well commented and easy for rookies to understand CounterStrike Source Linux Server Startscript. It includes all basic start parameter as well as a good error display system.</p>
<p><strong>How to use:</strong></p>
<p>After you successfully installed a Counterstrike Source Server under Linux with the <a title="http://www.srcds.com/" href="http://www.srcds.com/" target="_blank">SRCDS</a> tool you just have to download the startscript at the bottom of this post.<br />
Save the &#8220;startscript&#8221; into the root directory of your CSS server and change the permission to &#8220;u + x&#8221; (chmod u+x startscript).</p>
<p>Now open the start script with your preferred editor (vim, joe, mono etc.) and customize the configuration variables to your system.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p103code8'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1038"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
</pre></td><td class="code" id="p103code8"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">############################*</span>
<span style="color: #666666; font-style: italic;"># Configuration (Required):</span>
<span style="color: #666666; font-style: italic;">#</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|</span>
<span style="color: #666666; font-style: italic;"># |~~ 1. SYSTEM PARAMETERS ~~~~~~~~~~|</span>
<span style="color: #666666; font-style: italic;"># |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Set the user who owns the CounterStrike Server (root is not recommended)</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: Existing user on your system</span>
<span style="color: #007800;">SYS_USER</span>=<span style="color: #ff0000;">&quot;root&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Path to the root directory of the server</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: System path</span>
<span style="color: #007800;">SYS_DIR</span>=<span style="color: #ff0000;">&quot;/path/to/your/server/&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Server daemon</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: srcds_run</span>
<span style="color: #007800;">SYS_DAEMON</span>=<span style="color: #ff0000;">&quot;srcds_run&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Name of the server on your system</span>
<span style="color: #007800;">SYS_NAME</span>=<span style="color: #ff0000;">&quot;CSS001&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Description of the server</span>
<span style="color: #007800;">SYS_DESC</span>=<span style="color: #ff0000;">&quot;My first CSS Server&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|</span>
<span style="color: #666666; font-style: italic;"># |~~ 2. SERVER START PARAMETER ~~~~~|</span>
<span style="color: #666666; font-style: italic;"># |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: IPv4 Address of your server</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: XXX.XXX.XXX.XXX</span>
<span style="color: #007800;">START_PARAMS_IP</span>=<span style="color: #ff0000;">&quot;127.0.0.1&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Port of your server</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: Between 0 and 65535</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: 27015</span>
<span style="color: #007800;">START_PARAMS_PORT</span>=<span style="color: #ff0000;">&quot;27016&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Defines the default maps</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: Every on the server installed map is possible</span>
<span style="color: #007800;">START_PARAMS_MAP</span>=<span style="color: #ff0000;">&quot;de_dust2&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Defines the amount of player slots</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: Between 1 and 32</span>
<span style="color: #007800;">START_PARAMS_MAXPLAYERS</span>=<span style="color: #ff0000;">&quot;24&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Defines wether VAC (Valve Anti Cheat) is activated</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: secure / insecure</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: secure</span>
<span style="color: #007800;">START_PARAMS_SECURE</span>=<span style="color: #ff0000;">&quot;secure&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Pingboost</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: 0 / 1 / 2 / 3</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: 0</span>
<span style="color: #007800;">START_PARAMS_PINGBOOST</span>=<span style="color: #ff0000;">&quot;0&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;"># ~~ Description: Defines the tickrate</span>
<span style="color: #666666; font-style: italic;"># ~~ Params: 33 / 66 / 100</span>
<span style="color: #666666; font-style: italic;"># ~~ Default Value: 33</span>
<span style="color: #007800;">START_PARAMS_TICKRATE</span>=<span style="color: #ff0000;">&quot;100&quot;</span>;
&nbsp;
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># CONFIGURATION END</span>
<span style="color: #666666; font-style: italic;">############################*</span></pre></td></tr></table></div>

<p>After this step just execute the start script (./startscript start).</p>
<p>Thats it!</p>
<p><strong>Required Linux packages</strong></p>
<ul>
<li><a title="http://www.google.com/linux?hl=en&amp;q=awk&amp;btnG=Search" href="http://www.google.com/linux?hl=en&amp;q=awk&amp;btnG=Search" target="_blank">awk</a></li>
<li><a title="http://www.google.com/linux?hl=en&amp;q=screen&amp;btnG=Search" href="http://www.google.com/linux?hl=en&amp;q=screen&amp;btnG=Search" target="_blank">screen</a></li>
</ul>
<p><strong>Download</strong></p>
Note: There is a file embedded within this post, please visit this post to download the file.
<p><strong>So long,<br />
Andreas Glaser (aka JaZz)</strong></p>
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.andreas-glaser.com/2008/09/05/counterstrike-source-linux-server-startscript/&amp;layout=standard&amp;show_faces=true&amp;width=260&amp;action=like&amp;colorscheme=light' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:260px; height:26px'></iframe></p>]]></content:encoded>
			<wfw:commentRss>http://www.andreas-glaser.com/2008/09/05/counterstrike-source-linux-server-startscript/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ventrilo Linux Server Startscript</title>
		<link>http://www.andreas-glaser.com/2008/06/15/ventrilo-linux-server-startscript/</link>
		<comments>http://www.andreas-glaser.com/2008/06/15/ventrilo-linux-server-startscript/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 17:20:02 +0000</pubDate>
		<dc:creator>Andreas Glaser</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Shell Script]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Ventrilo]]></category>

		<guid isPermaLink="false">http://www.andreas-glaser.com/?p=38</guid>
		<description><![CDATA[Hello everyone, some minutes ago i had to create a Linux start script for Ventrilo a great voice communication software especially for gamers. The script This script is absolutely simple and configurable ?View Code BASH1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Hello everyone</strong>,</p>
<p>some minutes ago i had to create a Linux start script for Ventrilo a great voice communication software especially for gamers.</p>
<p><strong>The script</strong><br />
This script is absolutely simple and configurable</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p38code10'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3810"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
</pre></td><td class="code" id="p38code10"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
&nbsp;
<span style="color: #666666; font-style: italic;">####################</span>
<span style="color: #666666; font-style: italic;"># Configuration </span>
&nbsp;
<span style="color: #007800;">var_User</span>=<span style="color: #ff0000;">&quot;ventrilo&quot;</span>
<span style="color: #007800;">var_Path</span>=<span style="color: #ff0000;">&quot;/home/gaming/ventrilo/&quot;</span>
<span style="color: #007800;">var_Daemon</span>=<span style="color: #ff0000;">&quot;ventrilo_srv&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">####################</span>
<span style="color: #666666; font-style: italic;"># Don not edit below this line</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #000000; font-weight: bold;">in</span> start<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Starting Ventrilo Server.&quot;</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$var_Path</span>
.<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$var_Daemon</span> <span style="color: #660033;">-d</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Ventrilo Server Started&quot;</span>
<span style="color: #000000; font-weight: bold;">;;</span>
stop<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Shutting Down Ventrilo Server.&quot;</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$var_Path</span>
<span style="color: #c20cb9; font-weight: bold;">kill</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #007800;">$var_Daemon</span>.pid<span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Ventrilo Server Is Now Down&quot;</span>
<span style="color: #000000; font-weight: bold;">;;</span>
restart<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Restarting Ventrilo Server...&quot;</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$var_Path</span>
<span style="color: #c20cb9; font-weight: bold;">kill</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #007800;">$var_Daemon</span>.pid<span style="color: #000000; font-weight: bold;">`</span>
.<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$var_Daemon</span> <span style="color: #660033;">-d</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Ventrilo Server Restarted&quot;</span>
<span style="color: #000000; font-weight: bold;">;;</span>
<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Usage: $0 {start|stop|restart}&quot;</span>
<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">esac</span>
<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span></pre></td></tr></table></div>

<p><em><strong>So long,<br />
Andreas Glaser</strong></em></p>
<p class='fb-like'><iframe src='http://www.facebook.com/plugins/like.php?href=http://www.andreas-glaser.com/2008/06/15/ventrilo-linux-server-startscript/&amp;layout=standard&amp;show_faces=true&amp;width=260&amp;action=like&amp;colorscheme=light' scrolling='no' frameborder='0' allowTransparency='true' style='border:none; overflow:hidden; width:260px; height:26px'></iframe></p>]]></content:encoded>
			<wfw:commentRss>http://www.andreas-glaser.com/2008/06/15/ventrilo-linux-server-startscript/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
