mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 07:03:56 +08:00
🦄 Sync 2026-10-02 14:52:05
This commit is contained in:
1 parent
4c85793342
commit
0bfe84f1e8
133 files changed
+7983
-3225
No files matched your search
+3
-3
@@ -10,8 +10,8 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_ARCH_ghttpd:=$(ARCH)
|
||||
|
||||
PKG_NAME:=ghttpd
|
||||
PKG_VERSION:=0.0.3
|
||||
PKG_RELEASE:=5
|
||||
PKG_VERSION:=0.0.5
|
||||
PKG_RELEASE:=6
|
||||
PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://github.com/Carseason/openwrt-packages/releases/download/prebuilt/
|
||||
PKG_HASH:=skip
|
||||
@@ -53,7 +53,7 @@ define Package/$(PKG_NAME)/postrm
|
||||
#!/bin/sh
|
||||
for service in uhttpd nginx; do
|
||||
[ -x "/etc/init.d/$$service" ] || continue
|
||||
"/etc/init.d/$$service" enabled && "/etc/init.d/$$service" restart
|
||||
"/etc/init.d/$$service" restart
|
||||
done
|
||||
exit 0
|
||||
endef
|
||||
|
||||
@@ -19,7 +19,7 @@ stop_default_httpd_services() {
|
||||
start_default_httpd_services() {
|
||||
for service in uhttpd nginx; do
|
||||
[ -x "/etc/init.d/$service" ] || continue
|
||||
"/etc/init.d/$service" enabled && "/etc/init.d/$service" restart
|
||||
"/etc/init.d/$service" restart
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user