/[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.1 - (show annotations) (download)
Fri Sep 24 21:32:51 2010 UTC (3 years, 11 months ago) by pacho
Branch: MAIN
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.20