Skip to content
Snippets Groups Projects
Commit fb02c397 authored by Sukru Senli's avatar Sukru Senli
Browse files

Initially add OpenWrt UCI config and init script for DSL here

parent ddff174b
No related branches found
No related tags found
No related merge requests found
#!/bin/sh /etc/rc.common
START=14
STOP=96
USE_PROCD=1
NAME=dslmngr
start_service() {
procd_open_instance
procd_set_param command "/sbin/dslmngr"
procd_set_param respawn
procd_close_instance
}
service_running() {
ubus -t 5 wait_for xdsl
ubus -t 5 call xdsl start
}
service_triggers()
{
procd_add_reload_trigger dsl
}
reload_service() {
ubus -t 5 call xdsl stop
ubus -t 5 call xdsl start
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment