Is /etc/rc.local called twice on boot?
Bo Berglund
bo.berglund at gmail.com
Tue Oct 26 13:53:45 UTC 2021
On Tue, 26 Oct 2021 14:05:31 +0100, Chris Green <cl at isbd.net> wrote:
>I'm not really *that* worried by the changes but it does seem a pity that the deprecated
>command actually provides what one most often wants to know in a rather neater form than
>the new replacement.
>
Right, all of my scripts stopped working when I got a new RaspberryPi a number
of years back. It was due to new network interface names impossible to figure
out manually!
So I had to go through the hoops of fixing it:
https://www.itzgeek.com/how-tos/mini-howtos/change-default-network-name-ens33-to-old-eth0-on-ubuntu-16-04.html
Luckily the Raspbian maintainers quickly realized what a shoot-in-the-foot this
was especially for folks who need to scan the Internet to get commands to do
stuff, and these commands no longer worked!
So they reverted the introduction and returned to eth0 and company. :)
Similar for ifconfig which if nonexistent can be resurrected as follows:
sudo apt install net-tools
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list