Files
bin/upgrade-script-common/wol

6 lines
189 B
Bash
Executable File

#!/bin/bash
# ensure wol works in new systemd world
conn=`nmcli -t -f NAME,TYPE connection show | grep ethernet | cut -f1 -d:`
sudo nmcli c modify "$conn" 802-3-ethernet.wake-on-lan magic