SHA256
1
0
forked from pool/bluez
bluez/bluez-coldplug.init
Stefan Seyfried 94cabe6ec8 Accepting request 27883 from home:seife:testing
Copy from home:seife:testing/bluez via accept of submit request 27883 revision 39.
Request was accepted with message:
update to bluez-4.59

OBS-URL: https://build.opensuse.org/request/show/27883
OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=33
2009-12-29 11:15:30 +00:00

43 lines
782 B
Bash

#! /bin/sh
#
# /etc/init.d/bluez-coldplug
#
# Copyright (c) 2009, SUSE Linux Products GmbH Nuernberg, Germany. All rights reserved.
#
#
### BEGIN INIT INFO
# Provides: bluez-coldplug
# Required-Start: dbus $remote_fs
# Should-Start: $network $syslog
# Required-Stop: $null
# Should-Stop: $null
# Default-Start: 2 3 5
# Default-Stop:
# Short-Description:
# Description: handles udev coldplug of bluetooth dongles
### END INIT INFO
. /etc/rc.status
case "$1" in
start|restart|try-restart)
udevadm trigger --subsystem-match=bluetooth
rc_status -v
;;
stop)
rc_status -v
;;
force-reload|reload)
rc_status -v
;;
status)
rc_status -v
;;
*)
echo "Usage: $0" \
"{start|stop|status|try-restart|restart|force-reload|reload}"
exit 1
;;
esac
rc_exit