mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
fix golang
This commit is contained in:
parent
cfc4f067ab
commit
61499283fe
4 changed files with 6 additions and 6 deletions
|
@ -25,7 +25,7 @@ GO_PKG:=github.com/golang/protobuf
|
|||
GO_PKG_SOURCE_ONLY:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include ../golang/golang-package.mk
|
||||
include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk
|
||||
|
||||
define Package/golang-protobuf-dev
|
||||
$(call GoPackage/GoSubMenu)
|
||||
|
|
|
@ -181,9 +181,9 @@ start_service() {
|
|||
rmmod fast_classifier 2>&1 >/dev/null
|
||||
fi
|
||||
|
||||
if [ "$(uci -q get rpcd.@rpcd[0].socket)" != "/var/run/ubus/ubus.sock" ]; then
|
||||
if [ "$(uci -q get rpcd.@rpcd[0].socket)" != "/var/run/ubus.sock" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set rpcd.@rpcd[0].socket='/var/run/ubus/ubus.sock'
|
||||
set rpcd.@rpcd[0].socket='/var/run/ubus.sock'
|
||||
commit rpcd
|
||||
EOF
|
||||
/etc/init.d/rpcd restart 2>&1 >/dev/null
|
||||
|
|
|
@ -17,9 +17,9 @@ uci -q batch <<-EOF >/dev/null
|
|||
commit luci
|
||||
EOF
|
||||
|
||||
if [ "$(uci -q get rpcd.@rpcd[0].socket)" != "/var/run/ubus/ubus.sock" ]; then
|
||||
if [ "$(uci -q get rpcd.@rpcd[0].socket)" != "/var/run/ubus.sock" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set rpcd.@rpcd[0].socket='/var/run/ubus/ubus.sock'
|
||||
set rpcd.@rpcd[0].socket='/var/run/ubus.sock'
|
||||
commit rpcd
|
||||
EOF
|
||||
fi
|
||||
|
|
|
@ -25,7 +25,7 @@ GO_PKG:=github.com/shadowsocks/v2ray-plugin
|
|||
PKG_USE_MIPS16:=0
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include ../golang/golang-package.mk
|
||||
include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk
|
||||
|
||||
define Package/v2ray-plugin
|
||||
SECTION:=net
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue