#!/bin/bash echo "==================================================================================" cd /etc/ag/cp/ cat > new-etc.sh << 'EOF' #!/bin/sh # This script generates a compressed archive of /etc/webmin/authentic-theme and /etc/webmin/custom directories # and also all language files. mv etc.tar.gz etc.tar.gz-compare-and-delete locate custom-lang | tar -cvf etc.tar -T - tar -uvf etc.tar /etc/webmin/authentic-theme /etc/webmin/custom /etc/webmin/status/services /etc/webmin/webmin.descs gzip etc.tar clear ls -l EOF chmod 755 new-etc.sh echo "Done..." echo "==================================================================================" echo "==================================================================================" echo "file=/etc/ag/cp/new-lang.sh..." cat > /etc/ag/cp/new-lang.sh << 'EOT' EOT echo "Done..." echo "==================================================================================" echo "==================================================================================" chmod 755 new-lang.sh cat > READ.ME << 'EOF' Update the array in /etc/ag/cp/new-lang.sh and run the script if new UI terms need to be translated. EOF /etc/ag/cp/new-etc.sh echo "Done..." echo "==================================================================================" exit