Created
June 26, 2021 16:48
-
-
Save zhihuiyuze/a82683a1bdf1b23d52ee709137e4abb6 to your computer and use it in GitHub Desktop.
openwrt udp2raw service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh /etc/rc.common | |
# Copyright (C) 2008-2012 OpenWrt.org | |
USE_PROCD=1 | |
START=95 | |
STOP=01 | |
start_service() | |
{ | |
procd_open_instance | |
procd_set_param command /usr/bin/udp2raw --conf-file /etc/udp2raw/.conf | |
} | |
stop_service() | |
{ | |
procd_close_instance | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment