Changeset 5091 for n4d-epoptes-client


Ignore:
Timestamp:
Jun 6, 2017, 12:49:03 PM (2 years ago)
Author:
hectorgh
Message:

enabling wol on startup and making sure tlp doesnt' disable it

Location:
n4d-epoptes-client/trunk/fuentes
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • n4d-epoptes-client/trunk/fuentes/debian/control

    r602 r5091  
    1212Architecture: all
    1313Pre-depends: n4d
    14 Depends: ${shlibs:Depends}, ${misc:Depends}, epoptes-client, python-llxvars
     14Depends: ${shlibs:Depends}, ${misc:Depends}, epoptes-client, python-llxvars, python-llxnet
    1515Description: n4d plugin for epoptes-client
    1616 Plugin to configure epoptes-client
  • n4d-epoptes-client/trunk/fuentes/install-files/usr/share/n4d/python-plugins/EpoptesClient.py

    r4076 r5091  
    11import subprocess
    22import os
     3import lliurex.net
    34
    45class EpoptesClient:
     
    1314                                        p.communicate()
    1415                       
    15                
     16                                devices=lliurex.net.get_devices_info()
     17                               
     18                                for dev in devices:
     19                                        os.system("ethtool -s %s wol g"%dev["name"])
     20                                       
    1621        #def startup
    1722       
Note: See TracChangeset for help on using the changeset viewer.