%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/waritko/
Upload File :
Create Path :
Current File : //home/waritko/awhost

#!/bin/bash
echo "Include \"/home/waritko/awstats/conf/awstats.base.conf\"" > /home/waritko/awstats/conf/awstats.${1}.conf
echo "LogFile=\"cat /var/log/nginx/tail.log | grep '${1} ' |\"" >> /home/waritko/awstats/conf/awstats.${1}.conf
echo "SiteDomain=\"${1}\"" >> /home/waritko/awstats/conf/awstats.${1}.conf
echo "HostAliases=\"localhost 127.0.0.1 www.${1}\"" >> /home/waritko/awstats/conf/awstats.${1}.conf
echo "${1}" >> /home/waritko/awstats/hosts.txt


Zerion Mini Shell 1.0