View Single Post
Old 03-03-2010, 09:00 PM   #623
thawk
Connoisseur
thawk began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
Quote:
Originally Posted by kartu View Post
Now, the solution, I am still evaluating it and your ideas/comments are welcome, would probably look like this (written in human words ):

Code:
if exists prsp.sh and does not exist /Data/guard then 
  touch /Data/guard 
  /bin/sh prsp.sh
end
Linux gurus, tell me what you think.
I think it's good enough.
Guys will know what they are doing, and know how to recover.
Normal users will only a existed and proven solution, they won't change the code to brick their 505.

I suggest to use a txt file, like /Data/guard.txt, so it can be deleted without a PC.

Maybe the guard file can be deleted automated after a failed boot? So I won't forget deleting the guard file before reboot.

Last edited by thawk; 03-03-2010 at 09:29 PM.
thawk is offline   Reply With Quote