openwrt_helloworld/luci-app-passwall/root/etc/init.d/passwall_server
2023-02-16 05:13:49 +08:00

16 lines
192 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=99
start() {
lua /usr/lib/lua/luci/passwall/server_app.lua start
}
stop() {
lua /usr/lib/lua/luci/passwall/server_app.lua stop
}
restart() {
stop
start
}