#!/bin/sh module_id() { awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' /etc/sysconfig/bluetooth if [ $BLUETOOTH = "yes" ]; then echo "BLUETOOTH_PORT=$PORT" >>/etc/sysconfig/bluetooth echo "BLUETOOTH_SPEED=$SPEED" >>/etc/sysconfig/bluetooth echo "BLUETOOTH_PROTOCOL=$PROTO" >>/etc/sysconfig/bluetooth if [ "$SCRIPT" != "" ] && [ -f "$SCRIPT" ]; then echo "BLUETOOTH_SCRIPT=$SCRIPT" >>/etc/sysconfig/bluetooth fi fi fi