mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2024-12-22 14:26:11 +00:00
19 lines
414 B
Bash
19 lines
414 B
Bash
#!/bin/sh /etc/rc.common
|
|
USE_PROCD=1
|
|
|
|
# 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
|
|
procd_set_param command /usr/bin/youtubeUnblock 537
|
|
|
|
procd_set_param nice -20
|
|
|
|
procd_set_param stdout 1
|
|
procd_set_param stderr 1
|
|
|
|
procd_close_instance
|
|
}
|