mkimage-profiles/features.in/control/rootfs/image-scripts.d/50-control

12 lines
228 B
Plaintext
Raw Normal View History

#!/bin/sh
# setup control(8) states
[ -z "$GLOBAL_CONTROL" ] ||
echo "$GLOBAL_CONTROL" \
| tr ' ' '\n' \
| while IFS=':' read facility state; do
[ -z "$facility" -o -z "$state" ] ||
control "$facility" "$state"
done
: