diff options
author | Koen Kooi <koen@openembedded.org> | 2008-08-07 07:46:09 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-08-07 07:46:09 +0000 |
commit | 91e0c7d309f35cbec7a739064e7eb4a799ce52f4 (patch) | |
tree | 1ccd57e1c7bb4bfdc1f3f4a29da7df4faf29c76e | |
parent | e0e3cb1546527254db4b900561b7f2e65900ae4e (diff) |
neurow-nwm: add correct initscript
-rw-r--r-- | packages/neuros-public/neuros-nwm/init | 113 | ||||
-rw-r--r-- | packages/neuros-public/neuros-nwm_git.bb | 2 |
2 files changed, 32 insertions, 83 deletions
diff --git a/packages/neuros-public/neuros-nwm/init b/packages/neuros-public/neuros-nwm/init index 849261a95c..5ab8f7a248 100644 --- a/packages/neuros-public/neuros-nwm/init +++ b/packages/neuros-public/neuros-nwm/init @@ -1,82 +1,31 @@ -<?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>
\ No newline at end of file +#!/bin/sh +###############################################################################$ +# +# Filename: /etc/init.d/nwm +# +# File Description: Qt Neuros server Startup Script +# +# @author Tom Bruno tbruno@neuros.us +# @version $Revision: 1.0 $ +# +###############################################################################$ + +[ "$1" != "" ] && action=$1 +if [ "$action" = "" ] +then + echo "Usage: $0 <action start|stop>" >&2 + exit 1 +fi + +if [ "$action" = "start" ] +then + + QWS_KEYBOARD="osdir" QWS_DISPLAY="LinuxFb:/dev/fb2" /usr/local/bin/nwm & + +else + if [ "$action" = "stop" ] + then + killall nwm + fi +fi + diff --git a/packages/neuros-public/neuros-nwm_git.bb b/packages/neuros-public/neuros-nwm_git.bb index bf4bbaa9af..4290ae38be 100644 --- a/packages/neuros-public/neuros-nwm_git.bb +++ b/packages/neuros-public/neuros-nwm_git.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Neuros window manager" LICENSE = "GPL" PV = "0.0+${PR}+gitr${SRCREV}" -PR = "r5" +PR = "r6" DEPENDS = "qt-embedded" |