#!/bin/bash
# Find and enable/disable wireless devices
state=`. /etc/acpi/wireless.sh`
if [ "$state" = "0" ]; then
if [ -f /proc/acpi/ibm/bluetooth ]; then
echo disable >/proc/acpi/ibm/bluetooth;
fi
else
if [ -f /proc/acpi/ibm/bluetooth ]; then
echo enable >/proc/acpi/ibm/bluetooth;
fi
fi
my /etc/acpi/ ibm-wireless. sh
#!/bin/bash
# Find and enable/disable wireless devices
state=`. /etc/acpi/ wireless. sh`
if [ "$state" = "0" ]; then ibm/bluetooth ]; then acpi/ibm/ bluetooth; ibm/bluetooth ]; then acpi/ibm/ bluetooth;
if [ -f /proc/acpi/
echo disable >/proc/
fi
else
if [ -f /proc/acpi/
echo enable >/proc/
fi
fi
Script original (not edited)
No words about wifi