From 97f38c73763721ae6248d1934511e55af29a60ea Mon Sep 17 00:00:00 2001 From: yomguy Date: Tue, 5 Jul 2016 16:06:20 +0200 Subject: [PATCH] add more eth --- telecaster/context_processors.py | 2 +- telecaster/tools/status.py | 2 +- telecaster/views.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/telecaster/context_processors.py b/telecaster/context_processors.py index 16740ed..ece4dd0 100644 --- a/telecaster/context_processors.py +++ b/telecaster/context_processors.py @@ -38,7 +38,7 @@ import socket import fcntl import struct -interfaces = ['eth0', 'eth1', 'eth2', 'eth0-eth2', 'eth3', 'eth4', 'eth5', 'eth6', +interfaces = ['eth0', 'eth1', 'eth2', 'eth0-eth2', 'eth3', 'eth4', 'eth5', 'eth6', 'eth7', 'eth8', 'eth9', 'wlan0', 'wlan1', 'wlan2', 'wlan3', 'wlan4'] diff --git a/telecaster/tools/status.py b/telecaster/tools/status.py index a2dd4c9..c22297c 100644 --- a/telecaster/tools/status.py +++ b/telecaster/tools/status.py @@ -41,7 +41,7 @@ from django.conf import settings class Status(object): - interfaces = ['eth0', 'eth1', 'eth2', 'eth0-eth2', 'eth3', 'eth4', 'eth5', 'eth6', + interfaces = ['eth0', 'eth1', 'eth2', 'eth0-eth2', 'eth3', 'eth4', 'eth5', 'eth6', 'eth7', 'eth8', 'eth9', 'wlan0', 'wlan1', 'wlan2', 'wlan3', 'wlan4'] acpi_states = {0: 'battery', 1: 'battery', 2: 'AC'} diff --git a/telecaster/views.py b/telecaster/views.py index f392107..2e9b2a6 100644 --- a/telecaster/views.py +++ b/telecaster/views.py @@ -45,7 +45,7 @@ def get_host(request): class Status(object): - interfaces = ['eth0', 'eth1', 'eth2', 'eth0-eth2', 'eth3', 'eth4', 'eth5', + interfaces = ['eth0', 'eth1', 'eth2', 'eth0-eth2', 'eth3', 'eth4', 'eth5', 'eth6', 'eth7', 'eth8', 'eth9', 'wlan0', 'wlan1', 'wlan2', 'wlan3', 'wlan4'] acpi_states = {0: 'battery', 1: 'battery', 2: 'AC'} -- 2.39.5