Forum archive
Accidentally erased /etc/proftpd/proftpd.conf - where can I get default one ?
Hello,
I've accidentally emptied config file and would like to get content of original one...
I'm on
Welcome to Redmine, TurnKey Linux 12.0 / Debian 6.0.7 Squeeze
Any way to recreate this config file ?
Thanks in advance,
regards,
Bulek.
etckeeper basically makes the whole etc directory under version control (git in the case of TKL).
So restoring your previous version of the config file should be a simple case of 'checking out' that file. Something like this should do the trick:
Basically all the git commands will work (as etckeeper essentially makes /etc a git repository) so if you want to revert particular changes then you can do that too. A quick google turned up this page which looks like it could be pretty handy and give a few hints and clues...