359afb3a59
Infrastructure configs for GMKtec K11 (Docker, vLLM, LocalAI, ComfyUI, control-plane, gpu-fan agent, Server UI with CLI/file explorer/GPU fan curve). Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
253 B
Bash
Executable File
12 lines
253 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Create NPMPlus data directory on the data disk.
|
|
|
|
ensure_npmplus_dirs() {
|
|
local data_root="${1:-/data}"
|
|
mkdir -p "${data_root}/apps/npmplus"
|
|
}
|
|
|
|
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
|
|
ensure_npmplus_dirs "${1:-/data}"
|
|
fi
|