Difference between revisions of "Novacomd Init Script"
Jump to navigation
Jump to search
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 ...) |
PuffTheMagic (talk | contribs) |
||
Line 4: | Line 4: | ||
start() { | start() { | ||
ebegin "Starting novacomd" | ebegin "Starting novacomd" | ||
− | start-stop-daemon --start --background --exec /opt/ | + | 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/ | + | 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">
- !/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>