mirror of
https://github.com/troglobit/finit.git
synced 2026-10-25 12:04:36 +00:00
test: new, verify runparts order
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
3d74e93fa2
commit
b41b4ce989
7 files changed
+62
No files matched your search
@@ -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 ..."
|
||||
|
||||
Reference in new issue
Block a user