View Single Post
2disbetter's Avatar
Posts: 365 | Thanked: 98 times | Joined on Nov 2009
#26
Originally Posted by kwotski View Post
The code excerpt is sort of in patch format.

What it means is that you should find the existing lines reading



("Houston" only occurs once in that file, so you can just search for that to find these lines.)

Then you put the new lines (indicated by '+') between them, so that it would read:



when you're done.

Edit: Note, the '+' sign is only to indicate which lines are added, it shouldn't be actually put in the file.
Thanks, I'm using Midnight commander to edit the file, but am having a problem saving it. Probably becuase I don't have root access to the file. How would i be able to get to said mode from within MC? Or do I need to go through the terminal and sudo it?

Edit: For those also curious, yes you need to have root control before editing the file.

Another question I'm having is, this two new lines we've added, as far as I can tell, will run in the event that all other scenarios under that (what looks like a function) don't pan out.

Just so I understand what I've just done, this basically will force the device to shut down, and then reset the reboot counter, when the the reboot count has risen too high?

2d

Last edited by 2disbetter; 2009-12-16 at 21:57.