summaryrefslogtreecommitdiff
path: root/openwrt/rhctl/files/rhctl.init
blob: ac3b1116df68257ea4ab503bb2774db2851e3aa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh /etc/rc.common

START=90

USE_PROCD=1
PROG=/usr/bin/rhctl

start_service () {
	procd_open_instance
	procd_set_param command "$PROG"
#	procd_set_param env RHCTL_DEBUG=1
	procd_set_param stdout 1
	procd_set_param stderr 1
	procd_close_instance
}