mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Enabling WoL on loader init
This commit is contained in:
parent
c3d4fbac13
commit
bb9997dbc3
@ -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
|
zcat /usr/share/keymaps/i386/${LAYOUT}/${KEYMAP}.map.gz | loadkeys
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Enable Wake on Lan, ignore errors
|
||||||
|
ethtool -s eth0 wol g 2>/dev/null
|
||||||
|
|
||||||
# Decide if boot automatically
|
# Decide if boot automatically
|
||||||
BOOT=1
|
BOOT=1
|
||||||
if ! loaderIsConfigured; then
|
if ! loaderIsConfigured; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user