control: create list of control to set in Live with installer

Some control that need to be set may appear after additional
installation of basic packages.
This commit is contained in:
Anton Midyukov 2024-02-14 08:08:24 +07:00
parent 87cb44015e
commit 6423c67bcc

View File

@ -0,0 +1,6 @@
#!/bin/sh
# setup control(8) states for the installed system
[ -z "$GLOBAL_CONTROL" ] || [ ! -x /usr/sbin/install2 ] ||
echo "$GLOBAL_CONTROL" |
tr ' :' '\n ' > /usr/share/install2/control