diff options
-rw-r--r-- | etc/nextcloudpi-config.d/nc-wifi.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/nextcloudpi-config.d/nc-wifi.sh b/etc/nextcloudpi-config.d/nc-wifi.sh index a59d0a9d..01977171 100644 --- a/etc/nextcloudpi-config.d/nc-wifi.sh +++ b/etc/nextcloudpi-config.d/nc-wifi.sh @@ -46,6 +46,7 @@ configure() systemctl disable wicd systemctl start dhcpcd systemctl enable dhcpcd + ip link set down dev wlan0 systemctl start nextcloud-domain return; } @@ -60,6 +61,7 @@ configure() # It does not hurt to restart it to wlan0 for RPi3 & zero w sed -i 's|^wireless_interface = $|wireless_interface = wlan0|' /etc/wicd/manager-settings.conf + ip link set up dev wlan0 systemctl stop dhcpcd systemctl disable dhcpcd systemctl enable wicd |