Commit 4850a628 authored by Elena Grandi's avatar Elena Grandi
Browse files

Enable WoL also on standalone

parent 894dcda0
Pipeline #365 passed with stage
in 1 minute and 8 seconds
---
dependencies:
- { role: common }
# Copyright (C) 2017 Progetto Fuss <info@fuss.bz.it>
# Christopher R. Gabriel <cgabriel@truelite.it>
# Elena Grandi <elena@truelite.it>
# Copyright (C) 2017-2021 The FUSS Project <info@fuss.bz.it>
# Copyright (C) 2021-2022 The FUSS Project <info@fuss.bz.it>
# Author: Marco Marinello <contact-nohuman@marinello.bz.it>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program or from the site that you downloaded it
# from; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place, Suite 330, Boston, MA 02111-1307 USA
---
- name: Check that ethtool is installed
include: "{{includes}}/install-package-apt.yml"
with_items:
- ethtool
- name: Install service to enable WoL
template:
dest: /etc/systemd/system/wol.service
src: wol.service
- name: Enable service to enable WoL
systemd:
name: wol
enabled: yes
[Unit]
Description=Enable WakeOnLan
After=network.target
[Service]
ExecStart=/sbin/ethtool -s {{ ansible_default_ipv4.interface }} wol g
[Install]
WantedBy=multi-user.target
......@@ -26,6 +26,7 @@
- common
- fuss_packages
- desktop
- network_standalone
- misc_standalone
- role: unofficial
when: unofficial is defined and unofficial
......
fuss-client (10.0.45) unstable; urgency=medium
* Enable WoL also on standalone.
-- Elena Grandi <elena@truelite.it> Tue, 21 Jun 2022 10:36:25 +0200
fuss-client (10.0.44) unstable; urgency=medium
[ Simone Piccardi ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment