From c67860160eb0040110a4c06e2644c80bee3d8d79 Mon Sep 17 00:00:00 2001 From: zxlhhyccc <45259624+zxlhhyccc@users.noreply.github.com> Date: Fri, 13 Sep 2019 14:25:16 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=90=AF=E5=8A=A8kcptun=E4=BA=8C=E8=BF=9B=E5=88=B6?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/jsda/luci-app-kcptun/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/jsda/luci-app-kcptun/Makefile b/package/jsda/luci-app-kcptun/Makefile index 1437d7b267..ece2de9a76 100755 --- a/package/jsda/luci-app-kcptun/Makefile +++ b/package/jsda/luci-app-kcptun/Makefile @@ -28,9 +28,9 @@ if [ -z "$${IPKG_INSTROOT}" ]; then ( . /etc/uci-defaults/40_luci-kcptun ) && rm -f /etc/uci-defaults/40_luci-kcptun fi -chmod 755 $${IPKG_INSTROOT}/etc/init.d/kcptun >/dev/null 2>&1 -ln -sf $${IPKG_INSTROOT}/etc/init.d/kcptun \ - $${IPKG_INSTROOT}/etc/rc.d/S99kcptun >/dev/null 2>&1 +chmod 755 "$${IPKG_INSTROOT}/etc/init.d/kcptun" >/dev/null 2>&1 +ln -sf "../init.d/kcptun" \ + "$${IPKG_INSTROOT}/etc/rc.d/S99kcptun" >/dev/null 2>&1 exit 0 endef