Skip to content
Snippets Groups Projects
Commit b2862e51 authored by Bob Mottram's avatar Bob Mottram
Browse files

force down

parent 1acbd6d2
No related branches found
No related tags found
No related merge requests found
......@@ -208,7 +208,7 @@ function hotspot_off {
fi
systemctl restart network-manager
ifdown $WIFI_INTERFACE
ifdown --force $WIFI_INTERFACE
}
function hotspot_on {
......@@ -494,7 +494,7 @@ function disable_wifi {
echo '# Include files from /etc/network/interfaces.d:' >> /etc/network/interfaces
echo 'source-directory /etc/network/interfaces.d' >> /etc/network/interfaces
systemctl restart network-manager
ifdown ${WIFI_INTERFACE}
ifdown --force ${WIFI_INTERFACE}
else
networks_from_file
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment