Update dv-list-tg.sh

This commit is contained in:
Esteban Mackay Q. 2025-02-02 19:54:50 -05:00
parent 15801a7fc1
commit 49b6107281
1 changed files with 3 additions and 1 deletions

View File

@ -21,18 +21,20 @@ sudo sed -i '538s/curl --fail -o "$NODE_DIR\/$1" -s.*/curl --fail -o "$NODE_DIR\
whiptail --title "Easy-DVSwitch" --msgbox "TG List DVSwitch:\n\n\ whiptail --title "Easy-DVSwitch" --msgbox "TG List DVSwitch:\n\n\
Actualice la base de datos en su app DVSMobile.\n\ Actualice la base de datos en su app DVSMobile.\n\
Update database in you DVSMobile APP." 0 50 Update database in you DVSMobile APP." 0 50
exit 0
;; ;;
2) 2)
sudo sed -i '538s/curl --fail -o "$NODE_DIR\/$1" -s.*/curl --fail -o "$NODE_DIR\/$1" -s http:\/\/www.pistar.uk\/downloads\/$1/' /opt/MMDVM_Bridge/dvswitch.sh && sudo sed -i '538s/curl --fail -o "$NODE_DIR\/$1" -s.*/curl --fail -o "$NODE_DIR\/$1" -s http:\/\/www.pistar.uk\/downloads\/$1/' /opt/MMDVM_Bridge/dvswitch.sh &&
whiptail --title "Easy-DVSwitch" --msgbox "TG List DVSwitch:\n\n\ whiptail --title "Easy-DVSwitch" --msgbox "TG List DVSwitch:\n\n\
Actualice la base de datos en su app DVSMobile.\n\ Actualice la base de datos en su app DVSMobile.\n\
Update database in you DVSMobile APP." 0 50 Update database in you DVSMobile APP." 0 50
exit 0
;; ;;
3) 3)
/usr/local/dvs/dvs; /usr/local/dvs/dvs;
esac esac
done done
exit 0 #exit 0
EOF EOF
#### ####