This commit is contained in:
kenzok8
2022-04-25 09:46:14 +08:00
parent 847d577cef
commit 6b4f31d67d
29 changed files with 0 additions and 825 deletions

View File

@ -1,61 +0,0 @@
#
# Copyright (C) 2015-2016 OpenWrt.org
# Copyright (C) 2020 jjm2473@gmail.com
#
# This is free software, licensed under the GNU General Public License v3.
#
include $(TOPDIR)/rules.mk
PKG_ARCH_quickstart:=$(ARCH)
PKG_NAME:=quickstart
PKG_VERSION:=0.3.6
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://fw.koolcenter.com/binary/quickstart/
PKG_HASH:=ff807b6927a6f3e858c0734cb55105ac60ebdb8ffe694436101ace0ed80c1dd9
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-binary-$(PKG_VERSION)
PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION:=net
CATEGORY:=Network
SUBMENU:=Web Servers/Proxies
TITLE:=Quickstart, the quick start.
DEPENDS:=@(x86_64||aarch64)
URL:=https://easepi.linkease.com/
endef
define Package/$(PKG_NAME)/description
Quickstart is a dashboard & user guide
endef
define Package/$(PKG_NAME)/postinst
#!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then
[ -f /etc/uci-defaults/quickstart ] && /etc/uci-defaults/quickstart && rm -f /etc/uci-defaults/quickstart
fi
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d $(1)/etc/uci-defaults
$(INSTALL_BIN) $(PKG_BUILD_DIR)/quickstart.$(PKG_ARCH_quickstart) $(1)/usr/sbin/quickstart
$(INSTALL_BIN) ./files/quickstart.init $(1)/etc/init.d/quickstart
$(INSTALL_BIN) ./files/quickstart.uci-default $(1)/etc/uci-defaults/quickstart
endef
$(eval $(call BuildPackage,$(PKG_NAME)))

View File

@ -1,13 +0,0 @@
#!/bin/sh /etc/rc.common
START=92
USE_PROCD=1
start_service() {
procd_open_instance
procd_set_param command /usr/sbin/quickstart serve
procd_set_param stderr 1
procd_set_param respawn
procd_close_instance
}

View File

@ -1,6 +0,0 @@
#!/bin/sh
/etc/init.d/quickstart enable
/etc/init.d/quickstart start
exit 0