openwrt_helloworld/luci-app-passwall2/root/etc/init.d/passwall2_server
2024-08-02 10:30:09 +08:00

16 lines
194 B
Bash
Executable File

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