Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I often overwork myself, in the sense that nothing can make me stop coding or reading papers and other resources on the internet. I stay up all night doing that, and the day after, I simply feel terrible due to lack of sleep. Even if I don't stay up all night, I often stay up until very late and still get very little sleep.

So, I was wondering if there is a way to make GRUB simply refuse to boot after a set time in the evening, and keep having this behavior until early in the morning. I did a few searches, but it seems like nobody else on the internet has ever felt the need of doing this.

share|improve this question

migrated from stackoverflow.com Sep 8 '12 at 12:43

This question came from our site for professional and enthusiast programmers.

1  
The root of the problem is not technical, and as such is not solvable by purely technical means - I guess you might start keeping your computer powered on, to avoid boot issues. If you want to go the technical way, how about a check in your login script? –  Piskvor Feb 7 '11 at 15:54
add comment

1 Answer

I don't think that's something which GRUB is able to do. You might want to try an alternative, for example, a combination of http://linuxers.org/article/gnome-nanny-parental-control-system-linux and http://www.linux.com/archive/feature/116324.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.