openwrt_helloworld/luci-app-passwall/root/etc/init.d/passwall_server
2022-04-17 03:50:24 +08:00

16 lines
220 B
Bash
Executable File

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