Aggiungi 'usr/local/sbin/service/fw@up'

master
sam 3 years ago
parent a2628cdfd6
commit 9b1d64798a

@ -0,0 +1,16 @@
#!/bin/sh
if [ -f /var/log/shorewall-init.log ]
then
rm /var/log/shorewall-init.log
fi
if [ -f /var/log/shorewall6-init.log ]
then
rm /var/log/shorewall6-init.log
fi
if [ -f /var/log/shorewall.log ]
then
mv /var/log/shorewall.log /var/log/shorewall_$(date +"%Y.%m.%d_%H:%m").log
fi
systemctl start ulogd2
systemctl start shorewall
systemctl start shorewall6
Loading…
Cancel
Save