mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-18 06:23:02 +08:00
🌈 Sync 2026-11-09 22:01:23
This commit is contained in:
1 parent
b5186d5b6e
commit
62c68e8b02
185 files changed
+4346
-13942
No files matched your search
@@ -1,11 +1,12 @@
|
||||
#!/bin/sh
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# shellcheck shell=dash
|
||||
# rpcd/ubus backend for luci-app-trafficctl.
|
||||
# Provides ubus object "luci.trafficctl" with methods for traffic control.
|
||||
|
||||
. /usr/local/bin/trafficctl-fw.sh
|
||||
. /usr/libexec/trafficctl/trafficctl-fw.sh
|
||||
|
||||
SCRIPTS="/usr/local/bin"
|
||||
SCRIPTS="/usr/libexec/trafficctl"
|
||||
|
||||
# Strip unsafe chars from label (allow alphanumeric, dash, underscore, dot)
|
||||
sanitize_label() { echo "$1" | tr -cd 'a-zA-Z0-9_.-'; }
|
||||
|
||||
Reference in new issue
Block a user