diff --git a/remote_host_autosetup/host_autosetup.sh b/remote_host_autosetup/host_autosetup.sh index 54459ba..d76fc4a 100755 --- a/remote_host_autosetup/host_autosetup.sh +++ b/remote_host_autosetup/host_autosetup.sh @@ -101,6 +101,15 @@ if [ "$ARCH" != "aarch64" ] && [ "$ARCH" != "x86_64" ]; then exit 1 fi + +#----------------------------------------- +# install bb64 +curl -fsSL https://gitea.jde.nz/j/bb64/raw/branch/main/install.sh -o ./install-bb64.sh && bash ./install-bb64.sh && rm ./install-bb64.sh + +#----------------------------------------- + + + echo "Installation complete." #-------------------------------- diff --git a/src/commands/nuke.cpp b/src/commands/nuke.cpp index 23350c8..3743a34 100644 --- a/src/commands/nuke.cpp +++ b/src/commands/nuke.cpp @@ -9,6 +9,24 @@ #include +#pragma TODO("Fix issues with Nuke below.") + +/* + +j@twelve:~/code/dropshell$ ds nuke localhost test-squashkiwi +--------------------------------------- +| Nuking test-squashkiwi on localhost | +--------------------------------------- +--------------------------------------------- +| Uninstalling test-squashkiwi on localhost | +--------------------------------------------- +Service is not installed: test-squashkiwi +bash: line 1: cd: /home/dropshell/dropshell_deploy/services/test-squashkiwi/template: Permission denied +bash: line 1: /home/dropshell/dropshell_deploy/services/test-squashkiwi/template/nuke.sh: Permission denied +Warning: Failed to run nuke script: test-squashkiwi + +*/ + namespace dropshell { int nuke_handler(const CommandContext& ctx);