Jesper,
Thanks for your reply regarding WOL. That wil be very usefull.
It must also be posible to make a job (ex. CRON), that every 15 minutes checks if any local computers are conected to the server.
Are any information about active-LAN-connections available on the server (log-files etc.)?
It would also be OK to check from a 'hardcoded' list of MAC-addresses if any of them are 'active', and - if not - make a shutdown.
/bjarni