summaryrefslogtreecommitdiff
path: root/packages/neuros-public/neuros-nwm/init
blob: 849261a95c82239911d6eee0d9246a0d1e3af1c1 (plain)
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
78
79
80
81
82
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<!-- git web interface version 1.5.4.2, (C) 2005-2006, Kay Sievers <kay.sievers@vrfy.org>, Christian Gierke -->
<!-- git core binaries version 1.5.4.2 -->
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="generator" content="gitweb/1.5.4.2 git/1.5.4.2"/>
<meta name="robots" content="index, nofollow"/>
<title>git.neurostechnology.com Git - rootfs/blob - base/etc/init.d/nwm</title>
<link rel="stylesheet" type="text/css" href="/gitweb.css"/>
<link rel="alternate" title="rootfs log RSS feed" href="/?p=rootfs;a=rss" type="application/rss+xml" />
<link rel="alternate" title="rootfs log RSS feed (no merges)" href="/?p=rootfs;a=rss;opt=--no-merges" type="application/rss+xml" />
<link rel="alternate" title="rootfs log Atom feed" href="/?p=rootfs;a=atom" type="application/atom+xml" />
<link rel="alternate" title="rootfs log Atom feed (no merges)" href="/?p=rootfs;a=atom;opt=--no-merges" type="application/atom+xml" />
<link rel="shortcut icon" href="/git-favicon.png" type="image/png"/>
</head>
<body>
<div class="page_header">
<a title="git homepage" href="http://git.or.cz/"><img src="/git-logo.png" width="72" height="27" alt="git" class="logo"/></a><a href="/">projects</a> / <a href="/?p=rootfs;a=summary">rootfs</a> / blob
</div>
<form method="get" action="/" enctype="application/x-www-form-urlencoded">
<div class="search">
<input type="hidden" name="p" value="rootfs"  />
<input type="hidden" name="a" value="search"  />
<input type="hidden" name="h" value="HEAD"  />
<select name="st" >
<option selected="selected" value="commit">commit</option>
<option value="grep">grep</option>
<option value="author">author</option>
<option value="committer">committer</option>
<option value="pickaxe">pickaxe</option>
</select><sup><a href="/?p=rootfs;a=search_help">?</a></sup> search:
<input type="text" name="s"  />
</div>
</form>
<div class="page_nav">
<a href="/?p=rootfs;a=summary">summary</a> | <a href="/?p=rootfs;a=shortlog">shortlog</a> | <a href="/?p=rootfs;a=log">log</a> | <a href="/?p=rootfs;a=commit;h=HEAD">commit</a> | <a href="/?p=rootfs;a=commitdiff;h=HEAD">commitdiff</a> | <a href="/?p=rootfs;a=tree;h=aa04ffa2e7a86b55bf69a7bd2bf468fc78b1e7ad;hb=HEAD">tree</a><br/>
<a href="/?p=rootfs;a=history;f=base/etc/init.d/nwm;h=HEAD;hb=HEAD">history</a> | <a href="/?p=rootfs;a=blob_plain;f=base/etc/init.d/nwm;h=HEAD;hb=HEAD">raw</a> | <a href="/?p=rootfs;a=blob;f=base/etc/init.d/nwm;hb=HEAD">HEAD</a><br/>
</div>
<div class="header">
<a class="title" href="/?p=rootfs;a=commit;h=HEAD">Revert &quot;Add /usr/local/bin/test to PATH&quot;</a>
</div>
<div class="page_path"><a title="tree root" href="/?p=rootfs;a=tree;hb=HEAD">[rootfs]</a> / <a title="base" href="/?p=rootfs;a=tree;f=base;hb=HEAD">base</a> / <a title="base/etc" href="/?p=rootfs;a=tree;f=base/etc;hb=HEAD">etc</a> / <a title="base/etc/init.d" href="/?p=rootfs;a=tree;f=base/etc/init.d;hb=HEAD">init.d</a> / <a title="base/etc/init.d/nwm" href="/?p=rootfs;a=blob_plain;f=base/etc/init.d/nwm;hb=HEAD">nwm</a><br/></div>
<div class="page_body">
<div class="pre"><a id="l1" href="#l1" class="linenr">   1</a> #!/bin/sh</div>
<div class="pre"><a id="l2" href="#l2" class="linenr">   2</a> ###############################################################################$</div>
<div class="pre"><a id="l3" href="#l3" class="linenr">   3</a> #</div>
<div class="pre"><a id="l4" href="#l4" class="linenr">   4</a> #&nbsp;Filename:&nbsp;/etc/init.d/nwm</div>
<div class="pre"><a id="l5" href="#l5" class="linenr">   5</a> #</div>
<div class="pre"><a id="l6" href="#l6" class="linenr">   6</a> #&nbsp;File&nbsp;Description:&nbsp;Qt&nbsp;Neuros&nbsp;server&nbsp;Startup&nbsp;Script</div>
<div class="pre"><a id="l7" href="#l7" class="linenr">   7</a> #</div>
<div class="pre"><a id="l8" href="#l8" class="linenr">   8</a> #&nbsp;@author&nbsp;Tom&nbsp;Bruno&nbsp;tbruno@neuros.us</div>
<div class="pre"><a id="l9" href="#l9" class="linenr">   9</a> #&nbsp;@version&nbsp;&nbsp;$Revision:&nbsp;1.0&nbsp;$</div>
<div class="pre"><a id="l10" href="#l10" class="linenr">  10</a> #</div>
<div class="pre"><a id="l11" href="#l11" class="linenr">  11</a> ###############################################################################$</div>
<div class="pre"><a id="l12" href="#l12" class="linenr">  12</a> </div>
<div class="pre"><a id="l13" href="#l13" class="linenr">  13</a> [&nbsp;&quot;$1&quot;&nbsp;!=&nbsp;&quot;&quot;&nbsp;]&nbsp;&amp;&amp;&nbsp;action=$1</div>
<div class="pre"><a id="l14" href="#l14" class="linenr">  14</a> if&nbsp;[&nbsp;&quot;$action&quot;&nbsp;=&nbsp;&quot;&quot;&nbsp;]</div>
<div class="pre"><a id="l15" href="#l15" class="linenr">  15</a> then</div>
<div class="pre"><a id="l16" href="#l16" class="linenr">  16</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;&quot;Usage:&nbsp;$0&nbsp;&lt;action&nbsp;&nbsp;start|stop&gt;&quot;&nbsp;&gt;&amp;2</div>
<div class="pre"><a id="l17" href="#l17" class="linenr">  17</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;exit&nbsp;1</div>
<div class="pre"><a id="l18" href="#l18" class="linenr">  18</a> fi</div>
<div class="pre"><a id="l19" href="#l19" class="linenr">  19</a> </div>
<div class="pre"><a id="l20" href="#l20" class="linenr">  20</a> if&nbsp;[&nbsp;&quot;$action&quot;&nbsp;=&nbsp;&quot;start&quot;&nbsp;]</div>
<div class="pre"><a id="l21" href="#l21" class="linenr">  21</a> then</div>
<div class="pre"><a id="l22" href="#l22" class="linenr">  22</a> </div>
<div class="pre"><a id="l23" href="#l23" class="linenr">  23</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QWS_KEYBOARD=&quot;osdir&quot;&nbsp;QWS_DISPLAY=&quot;LinuxFb:/dev/fb2&quot;&nbsp;/usr/local/bin/nwm&nbsp;&amp;</div>
<div class="pre"><a id="l24" href="#l24" class="linenr">  24</a> </div>
<div class="pre"><a id="l25" href="#l25" class="linenr">  25</a> else</div>
<div class="pre"><a id="l26" href="#l26" class="linenr">  26</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;[&nbsp;&quot;$action&quot;&nbsp;=&nbsp;&quot;stop&quot;&nbsp;]</div>
<div class="pre"><a id="l27" href="#l27" class="linenr">  27</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;then</div>
<div class="pre"><a id="l28" href="#l28" class="linenr">  28</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;killall&nbsp;nwm</div>
<div class="pre"><a id="l29" href="#l29" class="linenr">  29</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fi</div>
<div class="pre"><a id="l30" href="#l30" class="linenr">  30</a> fi</div>
<div class="pre"><a id="l31" href="#l31" class="linenr">  31</a> </div>
</div><div class="page_footer">
<div class="page_footer_text">Root FS build scripts and static rootfs portions</div>
<a class="rss_logo" href="/?p=rootfs;a=rss">RSS</a> <a class="rss_logo" href="/?p=rootfs;a=atom">Atom</a>
</div>
</body>
</html>