Skip to content

Commit

Permalink
fix /etc/init.d/socat access
Browse files Browse the repository at this point in the history
  • Loading branch information
wang92332 committed Mar 2, 2022
1 parent 0bd1db2 commit f1d1b1f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions luci-app-nat6-helper/root/usr/luci-app-nat6-helper.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"luci-app-socat": {
"description": "Grant UCI access for luci-app-nat6-helper",
"read": {
"uci": [ "nat6-helper" ]
},
"write": {
"uci": [ "nat6-helper" ]
}
}
}
4 changes: 4 additions & 0 deletions luci-app-socat/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ PKG_DATE:=20200824

include $(TOPDIR)/feeds/luci/luci.mk

define Build/Prepare
chmod +x ./root/etc/init.d/socat
endef

# call BuildPackage - OpenWrt buildroot signature

0 comments on commit f1d1b1f

Please sign in to comment.