wifi/files/archer-c5/etc/rc.local

14 lines
496 B
Plaintext
Raw Permalink Normal View History

2015-11-02 04:38:03 +02:00
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
# Never uncomment this unless YOU KNOW WHAT YOU'RE DOING
#for file in /sys/kernel/debug/ieee80211/*/ath10k/dfs_block_radar_events; do
# echo Y > $file
#done
2015-11-02 05:16:50 +02:00
/usr/sbin/ebtables -A FORWARD -i wlan+ -o wlan+ -j DROP
/usr/sbin/ebtables -A FORWARD -i wlan+ -s 00:1e:0b:d9:bb:6a -j DROP
/usr/sbin/ebtables -A FORWARD -i eth+ -o wlan+ -s ! 00:1e:0b:d9:bb:6a -j DROP
2015-11-02 04:38:03 +02:00
exit 0