<commit_before>#!/bin/bash

# start bluetoothd if bluetoothd is not running
if ! ( ps -fC bluetoothd ) ; then
   sudo /usr/local/bin/bluetoothd &
fi

if ! ( hciconfig -a | grep -q "PSCAN" ) ; then
   sudo killall bluetoothd
   sudo /usr/local/bin/bluetoothd &
fi

if ( hciconfig -a | grep -q "DOWN" ) ; then
   sudo hciconfig hci0 up
   sudo /usr/local/bin/bluetoothd &
fi
<commit_msg>only kill bluetoothd on edison<commit_after>#!/bin/bash

# start bluetoothd if bluetoothd is not running
if ! ( ps -fC bluetoothd ) ; then
   sudo /usr/local/bin/bluetoothd &
fi

if getent passwd edison && ! ( hciconfig -a | grep -q "PSCAN" ) ; then
   sudo killall bluetoothd
   sudo /usr/local/bin/bluetoothd &
fi

if ( hciconfig -a | grep -q "DOWN" ) ; then
   sudo hciconfig hci0 up
   sudo /usr/local/bin/bluetoothd &
fi

{'fraction_non_alphanumeric': 0.11344019728729964, 'fraction_numerical': 0.002466091245376079, 'mean_word_length': 3.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7523295', 'n_tokens_mistral': 335, 'n_tokens_neox': 316, 'n_words': 93}