blob: 3bfc06ad66cee2d2b3cfc9408e9bdaeebdf94285 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
post_install() {
hash nmcli 2>/dev/null && echo '
WARNING: You seem to have Network Manager installed.
As of 1.0.6, this no longer works with NetworkManager.
Use the solution from
https://wiki.archlinux.org/index.php/Wake-on-LAN#NetworkManager
instead.
'
cat <<EOT
Now you may enable WOL on each boot with:
systemctl enable wol@eth0
If you wish to have WOL enabled once, simply call:
systemctl start wol@eth0
EOT
}
post_upgrade() {
post_install
}
|