Commit 36c036cc authored by Gabriel Detraz's avatar Gabriel Detraz

Degage le check hostname

parent 5d70b7df
......@@ -6,13 +6,7 @@
umask 0177
if [[ `hostname` == 'komaz' ]]; then
logs_src=/var/log/firewall
elif [[ `hostname` == 'odlyd' ]]; then
logs_src=/var/log/firewall
else
exit 41
fi
logs_src=/var/log/firewall
logs_dst="/home/logs/`hostname`"
if [ ! -d "$logs_dst" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment