Here's the situation:
I start my main computer from another pc via wake on lan "wakeonlan ". All works fine. When I'm done doing what I did, I run "sudo shutdown -h now" (in the ssh terminal in which I was working) to shutdown the computer. But instead of shutting down, it reboots. I then have to reconnect to it via ssh and run the shutdown command again, and then it shuts down and stays off. I can then start it again via wake on lan...
does anyone know, why my computer actually reboots when I type "sudo shutdown -h now" when started via wake on lan?
Some information about the computer:
Ubuntu 13.04
Moterboard: Gigabyte GA-Z77X-UD3H
Ethernet Controller (as reported by "lspci"): Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet (rev c0)