Search
j0ke.net Open Build Service
>
Projects
>
hardware
:
bluetooth
>
bluez
> bluetooth-coldplug.init
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File bluetooth-coldplug.init of Package bluez
#! /bin/sh # Copyright (c) 2008 SuSE Linux Products GmbH, Nuernberg, Germany. # # Author: Stefan Seyfried <feedback@suse.de> # /etc/init.d/bluetooth-coldplug # ### BEGIN INIT INFO # Provides: bluetooth-coldplug # Required-Start: $syslog $remote_fs # Should-Start: dbus # Required-Stop: $syslog $remote_fs # Should-Stop: $null # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: Coldplugging of bluetoothd # Description: Starts bluetooth services on boot if an adapter is present. ### END INIT INFO STATEFILE=/dev/shm/bluetooth-adapter-present INITSCRIPT=/etc/init.d/bluetooth CONFIGFILE=/etc/sysconfig/bluetooth [ -e $STATEFILE ] || exit 0 [ -e $CONFIGFILE ] && . $CONFIGFILE [ x"$START_SERVICES" = xno ] && exit 0 exec $INITSCRIPT "$@"