test: new, verify runparts order

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2023-09-10 14:04:26 +02:00
1 parent 3d74e93fa2
commit b41b4ce989
7 files changed
+62

No files matched your search

+9
View File
@@ -305,6 +305,15 @@ if [ -n "$BOOTSTRAP" ]; then
say "Setting up bootstrap tasks ..."
echo "$BOOTSTRAP" >> "$SYSROOT$FINIT_CONF"
fi
if [ -n "$RUNPARTS" ]; then
say "Setting up runparts task ..."
echo "runparts /etc/rc.d" >> "$SYSROOT$FINIT_CONF"
mkdir "$SYSROOT/etc/rc.d"
echo "$RUNPARTS" > "$SYSROOT/etc/rc.d/start.sh"
chmod +x "$SYSROOT/etc/rc.d/start.sh"
fi
if [ -n "$RCLOCAL" ]; then
while [ -f "$SYSROOT/etc/rc.local" ]; do
echo "$SYSROOT/etc/rc.local busy ... waiting ..."