diff options
author | Christian Pointner <equinox@helsinki.at> | 2018-11-07 11:01:29 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2018-11-07 11:01:29 (GMT) |
commit | fb90864a19f2b834ce8ba5773dc0a6aed9e0f11e (patch) | |
tree | dc91519fd928d6bb30bc57961aedb883aa941fb3 /openwrt/rhctl/files/rhctl.init | |
parent | 6c552b607e8c1a175ae26e90b9637836dc571ee9 (diff) |
updated openwrt packaging
Diffstat (limited to 'openwrt/rhctl/files/rhctl.init')
-rwxr-xr-x | openwrt/rhctl/files/rhctl.init | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/openwrt/rhctl/files/rhctl.init b/openwrt/rhctl/files/rhctl.init new file mode 100755 index 0000000..ac3b111 --- /dev/null +++ b/openwrt/rhctl/files/rhctl.init @@ -0,0 +1,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 +} |