mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 17:25:13 +08:00
Update passwall
This commit is contained in:
1 parent
e99352c7a3
commit
86c432927e
1 file changed
+5
-4
@@ -3,10 +3,11 @@
|
||||
START=99
|
||||
STOP=15
|
||||
|
||||
ROOT="${IPKG_INSTROOT:-}"
|
||||
. "$ROOT/usr/share/passwall/utils.sh"
|
||||
APP_FILE=${APP_PATH}/app.sh
|
||||
LOCK_FILE=${LOCK_PATH}/${CONFIG}.lock
|
||||
if [ -z "$IPKG_INSTROOT" ]; then
|
||||
. /usr/share/passwall/utils.sh
|
||||
APP_FILE=${APP_PATH}/app.sh
|
||||
LOCK_FILE=${LOCK_PATH}/${CONFIG}.lock
|
||||
fi
|
||||
|
||||
set_lock() {
|
||||
mkdir -p "$LOCK_PATH" || return 1
|
||||
|
||||
Reference in new issue
Block a user