Update restore.sh

just restart usbmuxd twice instead of doing stuff with ps aux
This commit is contained in:
LukeZGD 2023-08-21 14:52:46 +08:00
parent 0b268288f8
commit a019e91a67

View File

@ -45,7 +45,7 @@ clean_sudo() {
clean_usbmuxd() {
clean_sudo
ps aux | awk '/usbmuxd/ {print "sudo kill "$2" 2>/dev/null"}' | bash
sudo systemctl restart usbmuxd
sudo systemctl restart usbmuxd
}