mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 06:45:13 +08:00
Update luci-app-passwall2.patch
This commit is contained in:
1 parent
86c432927e
commit
095df86d1a
1 file changed
+16
@@ -1,3 +1,19 @@
|
||||
--- a/luci-app-passwall2/root/etc/init.d/passwall2
|
||||
+++ b/luci-app-passwall2/root/etc/init.d/passwall2
|
||||
@@ -3,9 +3,11 @@
|
||||
START=99
|
||||
STOP=15
|
||||
|
||||
-. $IPKG_INSTROOT/usr/share/passwall2/utils.sh
|
||||
+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
|
||||
|
||||
--- a/luci-app-passwall2/Makefile
|
||||
+++ b/luci-app-passwall2/Makefile
|
||||
@@ -31,7 +31,26 @@ LUCI_PKGARCH:=all
|
||||
|
||||
Reference in new issue
Block a user