Parent Directory
|
Revision Log
Version bump, add dund init.d script and remove old. (Portage version: 2.1.8.3/cvs/Linux x86_64)
| 1 | #!/sbin/runscript |
| 2 | # Copyright 1999-2010 Gentoo Foundation |
| 3 | # Distributed under the terms of the GNU General Public License v2 |
| 4 | # $Header: $ |
| 5 | |
| 6 | depend() { |
| 7 | need bluetooth |
| 8 | } |
| 9 | |
| 10 | start() { |
| 11 | local result service |
| 12 | |
| 13 | ebegin "Starting dund" |
| 14 | start-stop-daemon --start --quiet \ |
| 15 | --exec /usr/bin/dund -- ${DUND_OPTIONS} |
| 16 | result="$?" |
| 17 | eend ${result} |
| 18 | } |
| 19 | |
| 20 | stop() { |
| 21 | ebegin "Stopping dund" |
| 22 | /usr/bin/dund -K |
| 23 | start-stop-daemon --stop --quiet --exec /usr/bin/dund |
| 24 | eend $? |
| 25 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.13 |