Novacomd Init Script

From WebOS Internals
Revision as of 18:56, 30 September 2009 by PuffTheMagic (talk | contribs) (New page: <source lang="bash"> #!/sbin/runscript start() { ebegin "Starting novacomd" start-stop-daemon --start --background --exec /opt/bin/novacomd result=$? eend ...)
(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/bin/novacomd
       result=$?
       eend $result

}

stop() {

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

} </source>