PARDUS

wol.service isminde bir servis oluşturalım.
sudo nano /etc/systemd/system/wol.service
İçeriğine aşağıdaki kodu kopyala yapıştır yaparak kaydedin:
Not
[Unit] Description=wol Requires=network.target After=network.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/sbin/ethtool -s enp3s0 wol d ExecStop=/usr/sbin/ethtool -s enp3s0 wol g [Install] WantedBy=multi-user.target
Kaydedip kapatmak için sırayla:
CTRL+O
ENTER
CTRL+X
tuşlarına basın.
Uç birimeden aşağıdaki komutları çalıştırın:
sudo systemctl daemon-reload sudo systemctl enable wol.service sudo systemctl start wol.service