Skip to content

Commit 51d2129

Browse files
committed
fix voipblock install on some devices
1 parent d57fe37 commit 51d2129

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

decompressed/gui_file/usr/share/transformer/scripts/appInstallRemoveUtility.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ app_transmission() {
7373
echo 'usb_count=$(find /tmp/run/mountd/ -mindepth 1 -maxdepth 1 -type d | wc -l)'
7474
echo '[ "$usb_count" == "0" ] && /etc/init.d/transmission stop || [ -d "/tmp/run/mountd/$last_usb/sharing/config/transmission" ] && /etc/init.d/transmission restart'
7575
} >/etc/hotplug.d/usb/60-transmission
76-
76+
7777
cp -r /usr/share/transmission /www/docroot/
7878
rm /www/docroot/transmission/web/index.html /www/docroot/transmission/web/LICENSE
7979

@@ -402,15 +402,15 @@ app_aria2() {
402402
app_voipblock_for_mmpbx() {
403403
install() {
404404
{
405-
curl -s https://repository.macoers.com/voipblock/voipblock.sh | ash -s tch_install_for_mmpbx
405+
curl -ks https://repository.macoers.com/voipblock/voipblock.sh | ash -s tch_install_for_mmpbx
406406
} && {
407407
uci set modgui.app.voipblock_for_mmpbx="1"
408408
uci commit modgui
409409
}
410410
}
411411
remove() {
412412
{
413-
curl -s https://repository.macoers.com/voipblock/voipblock.sh | ash -s tch_uninstall_for_mmpbx
413+
curl -ks https://repository.macoers.com/voipblock/voipblock.sh | ash -s tch_uninstall_for_mmpbx
414414
} && {
415415
uci set modgui.app.voipblock_for_mmpbx="0"
416416
uci commit modgui
@@ -434,7 +434,7 @@ app_voipblock_for_mmpbx() {
434434
app_voipblock_for_asterisk() {
435435
install() {
436436
{
437-
curl -s https://repository.macoers.com/voipblock/voipblock.sh | ash -s tch_install_for_asterisk
437+
curl -ks https://repository.macoers.com/voipblock/voipblock.sh | ash -s tch_install_for_asterisk
438438
} && {
439439
uci set modgui.app.blacklist_app="0"
440440
uci set modgui.app.voipblock_for_asterisk="1"
@@ -443,7 +443,7 @@ app_voipblock_for_asterisk() {
443443
}
444444
remove() {
445445
{
446-
curl -s https://repository.macoers.com/voipblock/voipblock.sh | ash -s tch_uninstall_for_asterisk
446+
curl -ks https://repository.macoers.com/voipblock/voipblock.sh | ash -s tch_uninstall_for_asterisk
447447
} && {
448448
uci set modgui.app.voipblock_for_asterisk="0"
449449
uci commit modgui

0 commit comments

Comments
 (0)