mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-26 20:02:51 +08:00
Update passwall2
This commit is contained in:
1 parent
095df86d1a
commit
c497d79525
1 file changed
+5
-3
@@ -3,9 +3,11 @@
|
||||
START=99
|
||||
STOP=15
|
||||
|
||||
. $IPKG_INSTROOT/usr/share/passwall2/utils.sh
|
||||
APP_FILE=${APP_PATH}/app.sh
|
||||
LOCK_FILE=${LOCK_PATH}/${CONFIG}.lock
|
||||
if [ -z "$IPKG_INSTROOT" ]; then
|
||||
. /usr/share/passwall2/utils.sh
|
||||
APP_FILE=${APP_PATH}/app.sh
|
||||
LOCK_FILE=${LOCK_PATH}/${CONFIG}.lock
|
||||
fi
|
||||
|
||||
set_lock() {
|
||||
[ ! -d "$LOCK_PATH" ] && mkdir -p $LOCK_PATH
|
||||
|
||||
Reference in new issue
Block a user