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 "Add /usr/local/bin/test to PATH"</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> # Filename: /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> # File Description: Qt Neuros server Startup 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> # @author Tom Bruno tbruno@neuros.us</div>
<div class="pre"><a id="l9" href="#l9" class="linenr"> 9</a> # @version $Revision: 1.0 $</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> [ "$1" != "" ] && action=$1</div>
<div class="pre"><a id="l14" href="#l14" class="linenr"> 14</a> if [ "$action" = "" ]</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> echo "Usage: $0 <action start|stop>" >&2</div>
<div class="pre"><a id="l17" href="#l17" class="linenr"> 17</a> exit 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 [ "$action" = "start" ]</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> QWS_KEYBOARD="osdir" QWS_DISPLAY="LinuxFb:/dev/fb2" /usr/local/bin/nwm &</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> if [ "$action" = "stop" ]</div>
<div class="pre"><a id="l27" href="#l27" class="linenr"> 27</a> then</div>
<div class="pre"><a id="l28" href="#l28" class="linenr"> 28</a> killall nwm</div>
<div class="pre"><a id="l29" href="#l29" class="linenr"> 29</a> 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>
|