commit84ac271bbbAuthor: lda <[email protected]> Date: Fri Nov 21 00:56:02 2025 +0700 six commit723b232123Author: lda <[email protected]> Date: Fri Nov 21 00:50:24 2025 +0700 expose the files, fmt now i can see what macs my computer is commitaab791eb5dAuthor: lda <[email protected]> Date: Fri Nov 21 00:38:37 2025 +0700 uh what commit1dc598b262Author: lda <[email protected]> Date: Tue Oct 21 01:10:19 2025 +0700 the commit of cherrypickingd7c34ee
22 lines
373 B
Bash
22 lines
373 B
Bash
#!/bin/sh /etc/rc.common
|
|
# OpenWrt init script
|
|
|
|
START=99
|
|
USE_PROCD=1
|
|
|
|
NAME=wakey
|
|
BIN=/root/.bin/wakey
|
|
|
|
start_service() {
|
|
procd_open_instance
|
|
procd_set_param command "$BIN"
|
|
procd_set_param respawn 5 1 0
|
|
procd_set_param stdout 1
|
|
procd_set_param stderr 1
|
|
procd_close_instance
|
|
}
|
|
|
|
stop_service() {
|
|
: # procd manages the process; nothing to do here
|
|
}
|