-
-
Notifications
You must be signed in to change notification settings - Fork 247
Expand file tree
/
Copy pathdev.sh
More file actions
22 lines (18 loc) · 584 Bytes
/
Copy pathdev.sh
File metadata and controls
22 lines (18 loc) · 584 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
# SPDX-License-Identifier: GPL-3.0-only
# Copyright (C) 2026 Ciriu Networks
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
for lib_file in \
"$SCRIPT_DIR/lib/config.sh" \
"$SCRIPT_DIR/lib/core.sh" \
"$SCRIPT_DIR/lib/menu.sh" \
"$SCRIPT_DIR/lib/network.sh" \
"$SCRIPT_DIR/lib/runtime.sh"; do
# shellcheck source=/dev/null
source "$lib_file"
done
while IFS= read -r -d '' module_file; do
# shellcheck source=/dev/null
source "$module_file"
done < <(find "$SCRIPT_DIR/src/modules" -name '*.sh' -print0 | sort -z)
main "$@"