Initial parts of the OpenWRT subsystem skeleton

This commit is contained in:
Cameron Thompson
2025-07-20 22:52:23 -04:00
parent d61384c396
commit adca963196
447 changed files with 4715 additions and 2236 deletions

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../lib/libc.so

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
libfts.so.0.0.0

View File

@@ -0,0 +1 @@
libfts.so.0.0.0

View File

@@ -0,0 +1 @@
libjson-c.so.5.1.0

View File

@@ -0,0 +1 @@
libpam.so.0.85.1

View File

@@ -0,0 +1 @@
libpam.so.0.85.1

View File

@@ -0,0 +1 @@
libpam_misc.so.0.82.1

View File

@@ -0,0 +1 @@
libpam_misc.so.0.82.1

View File

@@ -0,0 +1 @@
libpamc.so.0.82.1

View File

@@ -0,0 +1 @@
libpamc.so.0.82.1

View File

@@ -0,0 +1 @@
libpcre.so.1.2.13

View File

@@ -0,0 +1 @@
libpcre.so.1.2.13

View File

@@ -0,0 +1 @@
libpcreposix.so.0.0.7

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1,12 @@
#!/bin/sh
. /usr/share/libubox/jshn.sh
addenv="$( env | while read line; do echo "json_add_string \"\" \"$line\";"; done )"
json_init
json_add_array env
json_add_string "" "ACTION=$1"
eval "$addenv"
json_close_array env
ubus call hotplug.ntp call "$(json_dump)"

View File

@@ -0,0 +1,58 @@
#!/bin/sh
OPKG_KEYS="${OPKG_KEYS:-/etc/opkg/keys}"
usage() {
cat <<EOF
Usage: $0 <command> <arguments...>
Commands:
add <file>: Add keyfile <file> to opkg trusted keys
remove <file>: Remove keyfile matching <file> from opkg trusted keys
verify <sigfile> <list>: Check list file <list> against signature file <sigfile>
EOF
exit 1
}
opkg_key_verify() {
local sigfile="$1"
local msgfile="$2"
(
zcat "$msgfile" 2>/dev/null ||
cat "$msgfile" 2>/dev/null
) | usign -V -P "$OPKG_KEYS" -q -x "$sigfile" -m -
}
opkg_key_add() {
local key="$1"
[ -n "$key" ] || usage
[ -f "$key" ] || echo "Cannot open file $1"
local fingerprint="$(usign -F -p "$key")"
mkdir -p "$OPKG_KEYS"
cp "$key" "$OPKG_KEYS/$fingerprint"
}
opkg_key_remove() {
local key="$1"
[ -n "$key" ] || usage
[ -f "$key" ] || echo "Cannot open file $1"
local fingerprint="$(usign -F -p "$key")"
rm -f "$OPKG_KEYS/$fingerprint"
}
case "$1" in
add)
shift
opkg_key_add "$@"
;;
remove)
shift
opkg_key_remove "$@"
;;
verify)
shift
opkg_key_verify "$@"
;;
*) usage ;;
esac

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1 @@
../../bin/busybox

View File

@@ -0,0 +1,8 @@
{
"user": "ntp",
"access": {
"hotplug.ntp": {
"methods": [ "call" ]
}
}
}