From 1a21f9ce51cd7412813831857670dcca706898ee Mon Sep 17 00:00:00 2001 From: yomguy Date: Fri, 24 Feb 2012 13:27:05 +0100 Subject: [PATCH] fix wlan, acpi and host for TC --- telecaster/templates/telecaster/base.html | 2 +- telecaster/tools/acpi.py | 2 +- telecaster/tools/tools.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/telecaster/templates/telecaster/base.html b/telecaster/templates/telecaster/base.html index b38c599..5d767ae 100644 --- a/telecaster/templates/telecaster/base.html +++ b/telecaster/templates/telecaster/base.html @@ -37,7 +37,7 @@ server_status_callback(); {% block video %}
+
{% endblock video %} diff --git a/telecaster/tools/acpi.py b/telecaster/tools/acpi.py index 8d2fb06..a4835d5 100644 --- a/telecaster/tools/acpi.py +++ b/telecaster/tools/acpi.py @@ -173,7 +173,7 @@ class AcpiLinux: """init ACPI class and check for any ACPI features in /proc/acpi/""" #we read all acpi stuff from here - dirs = ['/proc/acpi/ibm'] + dirs = ['/proc/acpi/ibm', '/proc/acpi'] for dir in dirs: if os.path.exists(dir): self.proc_acpi_dir = dir diff --git a/telecaster/tools/tools.py b/telecaster/tools/tools.py index ee2d831..f3fabe7 100644 --- a/telecaster/tools/tools.py +++ b/telecaster/tools/tools.py @@ -167,7 +167,7 @@ def norm_string(string): class Status(object): - interfaces = ['eth0', 'eth1', 'eth2', 'eth0-eth2','eth3'] + interfaces = ['eth0', 'eth1', 'eth2', 'eth0-eth2', 'eth3', 'wlan0', 'wlan1'] acpi_states = {0: 'battery', 1: 'battery', 2: 'AC'} def __init__(self): -- 2.39.5