b1b16bddb0
0ee73b2 uxc: implement support for rootfs overlay in containers b0a8ea1 jail: do not hack /etc/resolv.conf on container rootfs 92aba53 jail: increase max additional env records to 64 15997e6 jail: allow rootfs to be a symbolic link 0114c6f jail: open() extroot folder before mounting ed96eda uxc: check for required blockd mounts Signed-off-by: Daniel Golle <daniel@makrotopia.org>
23 lines
336 B
Bash
23 lines
336 B
Bash
#!/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
|
|
}
|
|
|
|
service_triggers() {
|
|
procd_add_raw_trigger "mount.add" 3000 /etc/init.d/uxc boot
|
|
}
|