mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-03 03:03:56 +08:00
🍕 Sync 2026-09-29 05:48:23
This commit is contained in:
1 parent
94071d172f
commit
42eb59a9ef
5 files changed
+8
-4
No files matched your search
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
LUCI_TITLE:=LuCI Status Pages
|
LUCI_TITLE:=LuCI Status Pages
|
||||||
LUCI_DEPENDS:=+luci-base +luci-app-oui +luci-mod-dashboard +libiwinfo +rpcd-mod-iwinfo +rpcd-mod-rrdns +ucode +ucode-mod-fs +ucode-mod-ubus +ucode-mod-socket
|
LUCI_DEPENDS:=+luci-base +luci-app-oui +luci-mod-dashboard +libiwinfo +rpcd-mod-iwinfo +rpcd-mod-rrdns +ucode +ucode-mod-fs +ucode-mod-ubus +ucode-mod-socket
|
||||||
|
|
||||||
PKG_RELEASE:=21
|
PKG_RELEASE:=22
|
||||||
PKG_BUILD_DEPENDS:=iwinfo
|
PKG_BUILD_DEPENDS:=iwinfo
|
||||||
PKG_LICENSE:=Apache-2.0
|
PKG_LICENSE:=Apache-2.0
|
||||||
|
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
@@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
LUCI_TITLE:=Nginxer
|
LUCI_TITLE:=Nginxer
|
||||||
LUCI_DESCRIPTION:=Standard OpenWrt set including full admin with ppp support and the default Bootstrap theme
|
LUCI_DESCRIPTION:=Standard OpenWrt set including full admin with ppp support and the default Bootstrap theme
|
||||||
PKG_VERSION:=0.0.1
|
PKG_VERSION:=0.0.2
|
||||||
PKG_RELEASE:=14
|
PKG_RELEASE:=15
|
||||||
LUCI_DEPENDS:=+luci-nginx
|
LUCI_DEPENDS:=+luci-nginx
|
||||||
|
|
||||||
define Package/luci-nginxer/postrm
|
define Package/luci-nginxer/postrm
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
/etc/init.d/uhttpd enabled
|
/etc/init.d/uhttpd enable
|
||||||
/etc/init.d/uhttpd start
|
/etc/init.d/uhttpd start
|
||||||
exit 0
|
exit 0
|
||||||
endef
|
endef
|
||||||
|
|||||||
@@ -8,6 +8,10 @@ if [ "$nginxer" != 1 ]; then
|
|||||||
uci set nginx._redirect2ssl.access_log='off; # logd openwrt'
|
uci set nginx._redirect2ssl.access_log='off; # logd openwrt'
|
||||||
uci set nginx.global.nginxer='1'
|
uci set nginx.global.nginxer='1'
|
||||||
uci commit nginx
|
uci commit nginx
|
||||||
|
|
||||||
|
# fix firmware upload failed
|
||||||
|
sed -i 's/client_max_body_size 128M;/client_max_body_size 256M;/g' /etc/nginx/uci.conf.template
|
||||||
|
|
||||||
# /etc/init.d/uhttpd running || /etc/init.d/uhttpd disable
|
# /etc/init.d/uhttpd running || /etc/init.d/uhttpd disable
|
||||||
/etc/init.d/nginx reload
|
/etc/init.d/nginx reload
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user