Enabling WoL on loader init

This commit is contained in:
Fabio Belavenuto 2023-01-24 10:00:39 -03:00
parent 8df97f2cf7
commit 7d9a6bd91b

View File

@ -147,6 +147,9 @@ if [ -f /usr/share/keymaps/i386/${LAYOUT}/${KEYMAP}.map.gz ]; then
zcat /usr/share/keymaps/i386/${LAYOUT}/${KEYMAP}.map.gz | loadkeys
fi
# Enable Wake on Lan, ignore errors
ethtool -s eth0 wol g 2>/dev/null
# Decide if boot automatically
BOOT=1
if ! loaderIsConfigured; then