Skip to content

Commit 41b126e

Browse files
committed
2 parents dfb8614 + f12701f commit 41b126e

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

resources/lib/modules/bluetooth.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,8 @@ def start_bluetoothd(self):
140140
self.oe.dbg_log('bluetooth::start_bluetoothd',
141141
'enter_function', 0)
142142

143-
pid = self.oe.execute('pidof %s'
144-
% os.path.basename(self.BLUETOOTH_DAEMON)).split(' ')
145-
if pid[0] == '':
146-
self.oe.execute('sh ' + self.BLUETOOTH_INIT)
147-
148-
pid = self.oe.execute('pidof %s'
149-
% os.path.basename(self.OBEX_DAEMON)).split(' ')
150-
if pid[0] == '':
151-
self.oe.execute('sh ' + self.OBEX_INIT)
143+
self.oe.execute('sh ' + self.BLUETOOTH_INIT)
144+
self.oe.execute('sh ' + self.OBEX_INIT)
152145

153146
self.oe.dbg_log('bluetooth::start_bluetoothd',
154147
'exit_function', 0)

0 commit comments

Comments
 (0)