Add path.sh
This commit is contained in:
@ -1,8 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
USERS_FILE="/etc/hysteria/users.json"
|
source /etc/hysteria/core/scripts/path.sh
|
||||||
TRAFFIC_FILE="/etc/hysteria/traffic_data.json"
|
|
||||||
CONFIG_FILE="/etc/hysteria/config.json"
|
|
||||||
|
|
||||||
kick_user() {
|
kick_user() {
|
||||||
local username=$1
|
local username=$1
|
||||||
|
|||||||
4
core/scripts/path.sh
Normal file
4
core/scripts/path.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
CLI_PATH="/etc/hysteria/core/cli.py"
|
||||||
|
USERS_FILE="/etc/hysteria/users.json"
|
||||||
|
TRAFFIC_FILE="/etc/hysteria/traffic_data.json"
|
||||||
|
CONFIG_FILE="/etc/hysteria/config.json"
|
||||||
Reference in New Issue
Block a user