mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Typos in iiab-hotspot-on, iiab-hotspot-off, systemd-static-net.j2
This commit is contained in:
parent
45e110d6d8
commit
6856bb86aa
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…
Reference in a new issue