/[gentoo-x86]/net-wireless/bluez/files/init.d-dund
Gentoo

Contents of /net-wireless/bluez/files/init.d-dund

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Feb 12 19:32:06 2013 UTC (14 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Drop old

(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 pacho 1.1 #!/sbin/runscript
2     # Copyright 1999-2010 Gentoo Foundation
3     # Distributed under the terms of the GNU General Public License v2
4 pacho 1.2 # $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/init.d-dund,v 1.1 2010/09/24 21:32:51 pacho Exp $
5 pacho 1.1
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.20