youtubeUnblock/owrt/youtubeUnblock.owrt

23 lines
429 B
Plaintext
Raw Normal View History

2024-07-23 19:48:49 +00:00
#!/bin/sh /etc/rc.common
USE_PROCD=1
START=50
STOP=50
2024-07-23 19:48:49 +00:00
# Openwrt procd script: https://openwrt.org/docs/guide-developer/procd-init-script-example
# The program should be put into /usr/bin/
# This file should be put into /etc/init.d/
start_service() {
procd_open_instance
2024-08-11 21:59:13 +00:00
procd_set_param command /usr/bin/youtubeUnblock
2024-07-23 19:48:49 +00:00
procd_set_param nice -20
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance
}