1
2
3
4
5
6
7
8
9
10
11
12
13
14 | ifconfig sudo ethtool -s eth0 wol g sudo ethtool eth0 sudo bash -c "cat > /etc/init/wakeonlan.conf" <<'EOF' start on started network script interface=eth0 logger -t 'wakeonlan init script' enabling wake on lan for $interface ethtool -s $interface wol g end script EOF sudo chmod +x /etc/init/wakeonlan.conf |