mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
parent
e5795edd04
commit
8b5a7b68d9
6 changed files with 65 additions and 31 deletions
18
res/miracle-stop-network-manager
Executable file
18
res/miracle-stop-network-manager
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
. miracle-utils.sh
|
||||
|
||||
stop_network_manager
|
||||
|
||||
WPA_PID=$(find_wpa_supplicant_pid)
|
||||
if [ -n "$WPA_PID" ]
|
||||
then
|
||||
echo killing existing wpa_supplicant connection
|
||||
sudo kill -9 $WPA_PID
|
||||
else
|
||||
echo cannot find wpa_supplicant connection to kill
|
||||
if [[ $_ == $0 ]]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue