8ce8ce89cf
rootfs scripts should hit installer some day; the problem is with variables (dumping 'em wholesale looks dirty, and proxying those sort of defeats the approach) rather than with scripts. Until then, transform the data from the single variable into a file containing one facility per line for installer-1.8.31+ to consume.
8 lines
228 B
Bash
Executable File
8 lines
228 B
Bash
Executable File
#!/bin/sh
|
|
# setup control(8) states for the installed system
|
|
# FIXME: drop this when rootfs scripts/data get installer support
|
|
|
|
[ -z "$GLOBAL_CONTROL" ] ||
|
|
echo "$GLOBAL_CONTROL" |
|
|
tr ' :' '\n ' > /usr/share/install2/control
|