DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi I was trying to optimize the bootscripts a bit but now I accidentally ended up with an empty checkroot.sh and bootmisc.sh . How can I get those back?
I'm using debian testing.
You'd restore them from your backups or better yet just copy back in the copy of the original you made right before doing the changes.
Sorry - just a good lesson - anytime I'm editing a key file I always do something like:
cp -p filename filename.CCYYMMDD
where CCYYMMDD are century,year,month,day (e.g. 20060111).
Not only does it give me a fall back with the same ownerships and permissions as the original it also lets me know when looking later when the file was changed (from the suffix) and when the prior change to that was (from the true date stamp in ls).
Presumably you don't have backups or copies. If you post which distro and version someone (even me) may be able to post copies for you to use if we have the same.
You'd restore them from your backups or better yet just copy back in the copy of the original you made right before doing the changes.
Sorry - just a good lesson - anytime I'm editing a key file I always do something like:
cp -p filename filename.CCYYMMDD
where CCYYMMDD are century,year,month,day (e.g. 20060111).
Not only does it give me a fall back with the same ownerships and permissions as the original it also lets me know when looking later when the file was changed (from the suffix) and when the prior change to that was (from the true date stamp in ls).
Presumably you don't have backups or copies. If you post which distro and version someone (even me) may be able to post copies for you to use if we have the same.
Yea lesson learned, but I'm probably not going to make a backup next time either .
As I said previously, I'm using debian testing. Otherwhise called etch. It's up to date.
Hi I was trying to optimize the bootscripts a bit but now I accidentally ended up with an empty checkroot.sh and bootmisc.sh . How can I get those back?
I'm using debian testing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.