mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-16 21:43:33 +08:00
9 lines
253 B
Bash
Executable File
9 lines
253 B
Bash
Executable File
#!/bin/sh
|
|
echo "uci $*" >> "$STATE/log"
|
|
[ "$1" = -q ] && shift
|
|
case "$1" in
|
|
get) [ "$2" = luci.main.mediaurlbase ] && cat "$STATE/theme" 2>/dev/null ;;
|
|
set) case "$2" in luci.main.mediaurlbase=*) echo "${2#*=}" > "$STATE/theme" ;; esac ;;
|
|
esac
|
|
exit 0
|