Novacomd Init Script

From WebOS Internals
Revision as of 22:18, 10 March 2011 by PuffTheMagic (talk | contribs) (Do not remove this entry)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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