Convert final article

This commit is contained in:
Ian Gulliver
2019-04-14 23:12:51 +00:00
parent caba920808
commit 5796878203
4 changed files with 386 additions and 61 deletions

View File

@@ -75,7 +75,7 @@ Because of the ordering issues, its easier to treat this all as one interface
pre-up /sbin/start-stop-daemon --start --pidfile=/var/run/wpa_supplicant.wlan0.pid --exec=/usr/local/sbin/wpa_supplicant --user=root -- -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -C /var/run/wpa_supplicant -P /var/run/wpa_supplicant.wlan0.pid -b $IFACE
bridge_ports eth0 eth1 wlan0
post-down /sbin/start-stop-daemon --stop --pidfile=/var/run/wpa_supplicant.wlan0.pid --exec=/usr/local/sbin/wpa_supplicant --user=root
post-down /sbin/iw dev wlan0 set 4addr off</code></p>
post-down /sbin/iw dev wlan0 set 4addr off
We use start-stop-daemon because it provides idempotence and safety from stale PID files.