Is /etc/rc.local called twice on boot?

Bo Berglund bo.berglund at gmail.com
Mon Oct 25 22:47:59 UTC 2021


I have a custom call in /etc/rc.local to report the IP address of the system on
boot. It is set to run 60 seconds after the rc.local itself gets called.
This has worked fine in several installations both on Ubuntu and Raspbian.

But now (maybe since upgrading to 20.04 from 18.04) each time I reboot the call
is made twice with about 10 seconds time difference.

So I wonder if /etc/rc.local is called twice during boot nowadays?


-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list