From b6e440a0f560330187f87d25d193c9f92baa777a Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 10 Jul 2020 18:52:28 +0100 Subject: procd: update to git HEAD ea7a790 jail: add support for running OCI bundle bb4a446 uxc: add container management CLI tool Signed-off-by: Daniel Golle --- package/system/procd/files/uxc.init | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/system/procd/files/uxc.init (limited to 'package/system/procd/files') diff --git a/package/system/procd/files/uxc.init b/package/system/procd/files/uxc.init new file mode 100644 index 0000000000..035c8b0b9e --- /dev/null +++ b/package/system/procd/files/uxc.init @@ -0,0 +1,18 @@ +#!/bin/sh /etc/rc.common + +START=99 +USE_PROCD=1 +NAME=uxc +PROG=/sbin/uxc + +start_service() { + [ "${__BOOT_UXC}" = "1" ] || return 0 + procd_open_instance "uxc" + procd_set_param command "$PROG" boot + procd_close_instance +} + +boot() { + __BOOT_UXC=1 + start +} -- cgit v1.2.3