|
|
|
|
284
|
echo ' fi' >> $batman_script
|
284
|
echo ' fi' >> $batman_script
|
285
|
echo '' >> $batman_script
|
285
|
echo '' >> $batman_script
|
286
|
echo ' iptables -A INPUT -p tcp -m state -m tcp --dport 548 --state NEW -j ACCEPT' >> $batman_script
|
286
|
echo ' iptables -A INPUT -p tcp -m state -m tcp --dport 548 --state NEW -j ACCEPT' >> $batman_script
|
287
|
- echo ' iptables -A INPUT -p tcp -m state -m udp --dport 548 --state NEW -j ACCEPT' >> $batman_script
|
|
|
|
|
287
|
+ echo ' iptables -A INPUT -p udp -m state -m udp --dport 548 --state NEW -j ACCEPT' >> $batman_script
|
288
|
echo ' iptables -A INPUT -p tcp -m state -m tcp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
|
288
|
echo ' iptables -A INPUT -p tcp -m state -m tcp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
|
289
|
- echo ' iptables -A INPUT -p tcp -m state -m udp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
|
|
|
|
|
289
|
+ echo ' iptables -A INPUT -p udp -m state -m udp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
|
290
|
echo ' iptables -A INPUT -p tcp -m state -m tcp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
|
290
|
echo ' iptables -A INPUT -p tcp -m state -m tcp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
|
291
|
- echo ' iptables -A INPUT -p tcp -m state -m udp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
|
|
|
|
|
291
|
+ echo ' iptables -A INPUT -p udp -m state -m udp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
|
292
|
echo '' >> $batman_script
|
292
|
echo '' >> $batman_script
|
293
|
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
|
293
|
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
|
294
|
echo ' systemctl restart avahi-daemon' >> $batman_script
|
294
|
echo ' systemctl restart avahi-daemon' >> $batman_script
|
|
|
|
|
321
|
echo ' iwconfig $IFACE mode managed' >> $batman_script
|
321
|
echo ' iwconfig $IFACE mode managed' >> $batman_script
|
322
|
echo '' >> $batman_script
|
322
|
echo '' >> $batman_script
|
323
|
echo ' iptables -D INPUT -p tcp -m state -m tcp --dport 548 --state NEW -j ACCEPT' >> $batman_script
|
323
|
echo ' iptables -D INPUT -p tcp -m state -m tcp --dport 548 --state NEW -j ACCEPT' >> $batman_script
|
324
|
- echo ' iptables -D INPUT -p tcp -m state -m udp --dport 548 --state NEW -j ACCEPT' >> $batman_script
|
|
|
|
|
324
|
+ echo ' iptables -D INPUT -p udp -m state -m udp --dport 548 --state NEW -j ACCEPT' >> $batman_script
|
325
|
echo ' iptables -D INPUT -p tcp -m state -m tcp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
|
325
|
echo ' iptables -D INPUT -p tcp -m state -m tcp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
|
326
|
- echo ' iptables -D INPUT -p tcp -m state -m udp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
|
|
|
|
|
326
|
+ echo ' iptables -D INPUT -p udp -m state -m udp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
|
327
|
echo ' iptables -D INPUT -p tcp -m state -m tcp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
|
327
|
echo ' iptables -D INPUT -p tcp -m state -m tcp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
|
328
|
- echo ' iptables -D INPUT -p tcp -m state -m udp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
|
|
|
|
|
328
|
+ echo ' iptables -D INPUT -p udp -m state -m udp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
|
329
|
echo '' >> $batman_script
|
329
|
echo '' >> $batman_script
|
330
|
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
|
330
|
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
|
331
|
echo ' systemctl restart network-manager' >> $batman_script
|
331
|
echo ' systemctl restart network-manager' >> $batman_script
|