mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #2588 from holta/4-typos
Typos in iiab-hotspot-on, iiab-hotspot-off, systemd-static-net.j2 [networking]
This commit is contained in:
commit
de3d89176d
3 changed files with 4 additions and 6 deletions
|
@ -28,7 +28,7 @@ systemctl restart dhcpcd
|
|||
#fi
|
||||
{% else %}
|
||||
#ubuntu
|
||||
if [ -f /etc/NetworkManager/conf.d/wifi-manage.conf ]
|
||||
if [ -f /etc/NetworkManager/conf.d/wifi-manage.conf ]; then
|
||||
sed -i -e "s|managed=0|managed=1|" /etc/NetworkManager/conf.d/wifi-manage.conf
|
||||
fi
|
||||
echo -e "\nPlease reboot to enable upstream WiFi access.\n"
|
||||
|
|
|
@ -29,7 +29,7 @@ systemctl start dnsmasq
|
|||
#fi
|
||||
{% else %}
|
||||
#ubuntu
|
||||
if [ -f /etc/NetworkManager/conf.d/wifi-manage.conf ]
|
||||
if [ -f /etc/NetworkManager/conf.d/wifi-manage.conf ]; then
|
||||
sed -i -e "s|managed=1|managed=0|" /etc/NetworkManager/conf.d/wifi-manage.conf
|
||||
fi
|
||||
systemctl enable hostapd
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# /etc/systemd/network/IIAB-static.network
|
||||
# /etc/systemd/network/IIAB-Static.network
|
||||
[Match]
|
||||
Name={{ iiab_wan_iface }}
|
||||
|
||||
|
@ -6,7 +6,5 @@ Name={{ iiab_wan_iface }}
|
|||
Address={{ wan_ip }}/{{ wan_cidr }}
|
||||
Gateway={{ wan_gateway }}
|
||||
LinkLocalAddressing=yes
|
||||
DNS={{ wan_namserver }}
|
||||
DNS={{ wan_nameserver }}
|
||||
Domains={{ iiab_domain }}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue