<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Script_for_toggling_bluetooth</id>
	<title>Script for toggling bluetooth - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Script_for_toggling_bluetooth"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Script_for_toggling_bluetooth&amp;action=history"/>
	<updated>2026-06-10T03:06:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Script_for_toggling_bluetooth&amp;diff=29623&amp;oldid=prev</id>
		<title>Mrunge: First version, ideas</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Script_for_toggling_bluetooth&amp;diff=29623&amp;oldid=prev"/>
		<updated>2007-05-07T12:26:47Z</updated>

		<summary type="html">&lt;p&gt;First version, ideas&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The following code snipped may be useful to enable/disable bluetooth functionality on a thinkpad.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 INFO=/proc/acpi/ibm/bluetooth&lt;br /&gt;
 STATE=`cat $INFO | grep status| awk '{print $2}'`&lt;br /&gt;
 case &amp;quot;$STATE&amp;quot; in&lt;br /&gt;
        enabled)&lt;br /&gt;
        echo -n &amp;quot;disable&amp;quot; &amp;gt; $INFO&lt;br /&gt;
 ;;&lt;br /&gt;
        disabled)&lt;br /&gt;
        echo &amp;quot;enable&amp;quot; -n &amp;gt; $INFO&lt;br /&gt;
 ;;&lt;br /&gt;
        *)&lt;br /&gt;
        echo &amp;quot;usage: disable, enable&amp;quot;&lt;br /&gt;
 esac&lt;br /&gt;
&lt;br /&gt;
=== Further extensions ===&lt;br /&gt;
Using Windows the Fn-F5 buttons allows to switch on/off WLAN and bluetooth also. In the future the following features will be added &lt;br /&gt;
* include WLAN in switching&lt;br /&gt;
* show status on screen&lt;br /&gt;
[[Category:Scripts]]&lt;br /&gt;
[[Category:Bluetooth]]&lt;/div&gt;</summary>
		<author><name>Mrunge</name></author>
		
	</entry>
</feed>