Skip to content

Commit

Permalink
disk-image-{minimal,mfs-root}: Run /etc/rc.local at boot if present
Browse files Browse the repository at this point in the history
Useful for running benchmarks without having to copy and modify the
entire rc script.
  • Loading branch information
jrtc27 committed Oct 29, 2024
1 parent dad877b commit 29fd3eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pycheribuild/files/minimal-image/etc/rc
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ else
/usr/sbin/sshd
fi

if [ -f /etc/rc.local ]; then
. /etc/rc.local
fi

echo "Logging in as root..."
/usr/bin/login -f root
Expand Down

0 comments on commit 29fd3eb

Please sign in to comment.