From d9c06f3d18e93b34ec9be56b2142debf68ce93f1 Mon Sep 17 00:00:00 2001 From: kenzok8 Date: Thu, 11 Dec 2025 14:22:08 +0800 Subject: [PATCH] update 2025-12-11 14:22:08 --- .../root-demo/etc/init.d/istorenext-demo | 12 ++++++++++++ luci-mod-istorenext/root-demo/istorenext-demo.sh | 1 - 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100755 luci-mod-istorenext/root-demo/etc/init.d/istorenext-demo delete mode 100755 luci-mod-istorenext/root-demo/istorenext-demo.sh diff --git a/luci-mod-istorenext/root-demo/etc/init.d/istorenext-demo b/luci-mod-istorenext/root-demo/etc/init.d/istorenext-demo new file mode 100755 index 000000000..d7d2f5d28 --- /dev/null +++ b/luci-mod-istorenext/root-demo/etc/init.d/istorenext-demo @@ -0,0 +1,12 @@ +#!/bin/sh /etc/rc.common + +START=79 +USE_PROCD=1 + +start_service() { + procd_open_instance + procd_set_param command /usr/sbin/uhttpd -f -h /demo -r Test -x /cgi-bin/luci/istorenext/cgi-bin -u /ubus -t 360 -T 30 -k 20 -A 1 -n 50 -N 100 -R -p 0.0.0.0:8080 + procd_set_param stderr 1 + procd_set_param respawn + procd_close_instance +} diff --git a/luci-mod-istorenext/root-demo/istorenext-demo.sh b/luci-mod-istorenext/root-demo/istorenext-demo.sh deleted file mode 100755 index d702b17e2..000000000 --- a/luci-mod-istorenext/root-demo/istorenext-demo.sh +++ /dev/null @@ -1 +0,0 @@ -uhttpd -f -h /demo -r Test -x /cgi-bin/luci/istorenext/cgi-bin -u /ubus -t 360 -T 30 -k 20 -A 1 -n 50 -N 100 -R -p 0.0.0.0:8080