From f10bfe60cca9e01de26ee141fec9c645de6f5d99 Mon Sep 17 00:00:00 2001 From: Richard Sperry Date: Thu, 17 Apr 2025 14:14:03 -0700 Subject: [PATCH] devenv --- .../var/lib/code-server/defaults/core/custom-scripts.md | 6 ++++-- .../var/lib/code-server/defaults/core/custom-template.sh | 8 -------- .../defaults/core/{OpenMQTT.sh => example-mqtt.sh} | 0 3 files changed, 4 insertions(+), 10 deletions(-) delete mode 100644 vscode/rootfs/var/lib/code-server/defaults/core/custom-template.sh rename vscode/rootfs/var/lib/code-server/defaults/core/{OpenMQTT.sh => example-mqtt.sh} (100%) diff --git a/vscode/rootfs/var/lib/code-server/defaults/core/custom-scripts.md b/vscode/rootfs/var/lib/code-server/defaults/core/custom-scripts.md index 8e8a17d..326af24 100644 --- a/vscode/rootfs/var/lib/code-server/defaults/core/custom-scripts.md +++ b/vscode/rootfs/var/lib/code-server/defaults/core/custom-scripts.md @@ -3,9 +3,11 @@ This directory is for shell scripts to be ran at boot time so you can add functionality if needed. -## custom-template.sh +## example-mqtt.sh -This script is an example of a script that has an on/off switch that can allow you to add extra functionality when needed. To run it, +This script is an example of a script that pulls the openMQTT source. + +It has an on/off switch that can allow you to add extra functionality when needed. To run it, change ENABLE to true and restart the VS Code server instance. ## PATHS.sh diff --git a/vscode/rootfs/var/lib/code-server/defaults/core/custom-template.sh b/vscode/rootfs/var/lib/code-server/defaults/core/custom-template.sh deleted file mode 100644 index 92e71f0..0000000 --- a/vscode/rootfs/var/lib/code-server/defaults/core/custom-template.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash -ENABLE=false -# shellcheck source=./PATHS.sh -source "/etc/s6-overlay/s6-rc.d/paths.sh" - -if [ "$ENABLE" = true ]; then - echo "Custom Script" -fi diff --git a/vscode/rootfs/var/lib/code-server/defaults/core/OpenMQTT.sh b/vscode/rootfs/var/lib/code-server/defaults/core/example-mqtt.sh similarity index 100% rename from vscode/rootfs/var/lib/code-server/defaults/core/OpenMQTT.sh rename to vscode/rootfs/var/lib/code-server/defaults/core/example-mqtt.sh