From c1c1e7dbeb8335fc63248b2f88ea996ba3bacd5b Mon Sep 17 00:00:00 2001 From: retr0 Date: Fri, 18 Jul 2025 19:23:03 +0200 Subject: [PATCH] Restore rootfs and debug build --- rootfs/etc/s6-overlay/cont-init.d/00-config | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 rootfs/etc/s6-overlay/cont-init.d/00-config diff --git a/rootfs/etc/s6-overlay/cont-init.d/00-config b/rootfs/etc/s6-overlay/cont-init.d/00-config new file mode 100755 index 0000000..ee6a6f1 --- /dev/null +++ b/rootfs/etc/s6-overlay/cont-init.d/00-config @@ -0,0 +1,21 @@ +#!/usr/bin/with-contenv bash +CONFIG_PATH=/config +mkdir -p "$CONFIG_PATH" +if [ ! -f "$CONFIG_PATH/config.xml" ]; then + cat > "$CONFIG_PATH/config.xml" << EOC + + + + + + + + + + +EOC + echo "Config created at $CONFIG_PATH/config.xml" +fi +if [ -n "$CLI_ARGS" ]; then + export CLI_ARGS +fi \ No newline at end of file