mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-13 14:47:55 +08:00
🎁 Sync 2026-09-30 11:42:51
This commit is contained in:
1 parent
214a01499a
commit
6c95370452
167 files changed
+3579
-7579
No files matched your search
@@ -1,14 +0,0 @@
|
||||
#!/bin/sh
|
||||
# No caller-supplied CLI flags or paths: only the generated scratch token.
|
||||
set -eu
|
||||
[ "$#" -eq 1 ] || exit 1
|
||||
case "$1" in
|
||||
check) scratch=/tmp/meow-luci-check.yaml ;;
|
||||
*)
|
||||
[ "${#1}" -eq 32 ] || exit 1
|
||||
case "$1" in *[!0-9a-f]*) exit 1 ;; esac
|
||||
scratch="/tmp/meow-luci-settings-$1.yaml"
|
||||
;;
|
||||
esac
|
||||
# Delegated LuCI configuration is deliberately confined to /etc/meow.
|
||||
exec /usr/bin/meow --no-external-plugins -d /etc/meow -f "$scratch" -t
|
||||
Reference in new issue
Block a user