ci: move packages to repo root so gh-action-sdk feed finds them
CI failed: 'No feed for package xrayctl found' / 'No rule to make target package/xrayctl/download' — gh-action-sdk indexes packages at the feed (repo) ROOT, not a nested package/ dir. Moved xrayctl/, luci-app-shater/, shater-core/ to root; fixed workflow comment and doc paths.
This commit is contained in:
1 parent
08a26bbb7b
commit
080cbc594d
35 files changed
+11
-15
No files matched your search
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
# /etc/hotplug.d/iface/99-shater
|
||||
#
|
||||
# netifd wipes `ip rule` / `ip route` on `network reload` and on interface
|
||||
# churn, so our policy routing must be re-persisted on every ifup/ifdown.
|
||||
# xrayctl reconcile is idempotent, so re-running it here is safe and cheap.
|
||||
#
|
||||
# Fully inert unless the Shater stack is enabled — never disturbs connectivity
|
||||
# on boxes where the package is merely installed.
|
||||
|
||||
[ -x /usr/bin/xrayctl ] || exit 0
|
||||
|
||||
case "$ACTION" in
|
||||
ifup|ifdown) ;;
|
||||
*) exit 0 ;;
|
||||
esac
|
||||
|
||||
# Only act when explicitly enabled.
|
||||
en=$(uci -q get xray.globals.enabled) || exit 0
|
||||
[ "$en" = "1" ] || exit 0
|
||||
|
||||
/usr/bin/xrayctl reconcile >/dev/null 2>&1
|
||||
|
||||
exit 0
|
||||
Reference in new issue
Block a user