Difference between revisions of "Novacomd Init Script"

From WebOS Internals
Jump to navigation Jump to search
(New page: <source lang="bash"> #!/sbin/runscript start() { ebegin "Starting novacomd" start-stop-daemon --start --background --exec /opt/bin/novacomd result=$? eend ...)
 
Line 4: Line 4:
 
start() {
 
start() {
 
         ebegin "Starting novacomd"
 
         ebegin "Starting novacomd"
         start-stop-daemon --start --background --exec /opt/bin/novacomd
+
         start-stop-daemon --start --background --exec /opt/Palm/novacom/novacomd
 
         result=$?
 
         result=$?
 
         eend $result
 
         eend $result
Line 11: Line 11:
 
stop() {
 
stop() {
 
         ebegin "Stopping novacomd"
 
         ebegin "Stopping novacomd"
         start-stop-daemon --stop --quiet --exec /opt/bin/novacomd
+
         start-stop-daemon --stop --quiet --exec /opt/Palm/novacom/novacomd
 
         result=$?
 
         result=$?
 
         eend $result
 
         eend $result
 
}
 
}
 
</source>
 
</source>

Revision as of 01:46, 4 November 2010

<source lang="bash">

  1. !/sbin/runscript

start() {

       ebegin "Starting novacomd"
       start-stop-daemon --start --background --exec /opt/Palm/novacom/novacomd
       result=$?
       eend $result

}

stop() {

       ebegin "Stopping novacomd"
       start-stop-daemon --stop --quiet --exec /opt/Palm/novacom/novacomd
       result=$?
       eend $result

} </source>