Hi Ork!
I've had a read across your script, and it's much nicer than mine. Mine was
what works on my bastardised server, and I'll try yours once I've got my
feet under me a bit (translation: my doctor has changed my prescriptions,
and I'm so shit faced I dare not look at a shell prompt! The other day I
typed "rm a_file_I_wanted_to_delete `ls`" without the double quotes due to
these bloody pain drugs.... forgot to hit enter between the rm and the ls....
as for the backticks, I have no idea! Lucky I believe in backups).
I guess the next step is to add some sed calls to allow for bot creation, and
calls to make, along with DB tracking and server version tracking, backups
and sourcing utils/sql files. I've been meaning to do that for a while now,
between hospital visits.
I'll eventually see how this works under different distros as well - although
your script looks like it should be happy regardless.
|