diff --git a/rootfs/standard/usr/bin/mynode_reinstall_app.sh b/rootfs/standard/usr/bin/mynode_reinstall_app.sh index 46e7f2c5..66e8dc2a 100755 --- a/rootfs/standard/usr/bin/mynode_reinstall_app.sh +++ b/rootfs/standard/usr/bin/mynode_reinstall_app.sh @@ -48,6 +48,7 @@ elif [ "$APP" = "webssh2" ]; then docker rmi webssh2 elif [ "$APP" = "dojo" ]; then rm -f /mnt/hdd/mynode/settings/dojo_url + rm -f /mnt/hdd/mynode/settings/mynode_dojo_install cd /mnt/hdd/mynode/dojo/docker/my-dojo/ # Stop and uninstall diff --git a/rootfs/standard/usr/bin/mynode_uninstall_app.sh b/rootfs/standard/usr/bin/mynode_uninstall_app.sh index ae132d9a..e96e1680 100755 --- a/rootfs/standard/usr/bin/mynode_uninstall_app.sh +++ b/rootfs/standard/usr/bin/mynode_uninstall_app.sh @@ -29,6 +29,18 @@ if [ "$APP" = "bos" ]; then npm uninstall -g balanceofsatoshis elif [ "$APP" = "btcrpcexplorer" ]; then rm -rf /opt/mynode/btc-rpc-explorer +elif [ "$APP" = "dojo" ]; then + rm -f /mnt/hdd/mynode/settings/dojo_url + rm -f /mnt/hdd/mynode/settings/mynode_dojo_install + cd /mnt/hdd/mynode/dojo/docker/my-dojo/ + + # Stop and uninstall + yes | ./dojo.sh uninstall + + # Reset config files + cd ~ + rm -rf /opt/download/dojo + rm -rf /mnt/hdd/mynode/dojo elif [ "$APP" = "lndhub" ]; then rm -rf /opt/mynode/LndHub elif [ "$APP" = "rtl" ]; then