Skip to content

Commit

Permalink
Sleep for ten seconds before calling rc.bootup to avoid a potential
Browse files Browse the repository at this point in the history
race condition. The value of ten seconds is completely arbitrary.
  • Loading branch information
lattera committed Jun 11, 2015
1 parent af6199d commit 9375bdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/etc/rc
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ echo "done."
echo -n "Launching the init system..."
rm -f /root/lighttpd*
touch /var/run/booting
sleep 10
/usr/local/etc/rc.bootup
rm /var/run/booting

Expand Down

0 comments on commit 9375bdc

Please sign in to comment.