linphone: fix build without NLS enabled
[openembedded.git] / recipes / neuros-public / neuros-nwm / init
blob5ab8f7a248b2970300d0b9619d3556778ac00b93
1 #!/bin/sh
2 ###############################################################################$
4 # Filename: /etc/init.d/nwm
6 # File Description: Qt Neuros server Startup Script
8 # @author Tom Bruno tbruno@neuros.us
9 # @version $Revision: 1.0 $
11 ###############################################################################$
13 [ "$1" != "" ] && action=$1
14 if [ "$action" = "" ]
15 then
16 echo "Usage: $0 <action start|stop>" >&2
17 exit 1
20 if [ "$action" = "start" ]
21 then
23 QWS_KEYBOARD="osdir" QWS_DISPLAY="LinuxFb:/dev/fb2" /usr/local/bin/nwm &
25 else
26 if [ "$action" = "stop" ]
27 then
28 killall nwm