Difference between revisions of "Novacomd Init Script"

From WebOS Internals
Jump to navigation Jump to search
(Do not remove this entry)
 
(4 intermediate revisions by 2 users not shown)
(No difference)

Latest revision as of 23:18, 10 March 2011

<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>