ps, if you try to run the above script from an ssh session, it will give you the error message:
-- hard freeze after 10 minutes of uptime when no screen is attached https://bugs.launchpad.net/bugs/518265 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs