test OK
This commit is contained in:
parent
6727fcf404
commit
e406db30f9
1 changed files with 1 additions and 4 deletions
|
@ -18,7 +18,7 @@ def wake_command(metadata):
|
||||||
|
|
||||||
@metadata_reactor.provides(
|
@metadata_reactor.provides(
|
||||||
'apt/packages/ethtool',
|
'apt/packages/ethtool',
|
||||||
'systemd/units/enable-wol',
|
'systemd/units/enable-wol.service',
|
||||||
'systemd/services/enable-wol.service',
|
'systemd/services/enable-wol.service',
|
||||||
)
|
)
|
||||||
def systemd(metadata):
|
def systemd(metadata):
|
||||||
|
@ -41,9 +41,6 @@ def systemd(metadata):
|
||||||
'RemainAfterExit': 'yes',
|
'RemainAfterExit': 'yes',
|
||||||
'ExecStart': f'ethtool -s {interface} wol g',
|
'ExecStart': f'ethtool -s {interface} wol g',
|
||||||
},
|
},
|
||||||
'Install': {
|
|
||||||
'WantedBy': 'multi-user.target',
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'services': {
|
'services': {
|
||||||
|
|
Loading…
Reference in a new issue