“Note that traditional init scripts continue to function on a systemd system. An init script /etc/rc.d/init.d/foobar is implicitly mapped into a service unit foobar.service during system initialization.”
That’s what it says in /etc/init.d/README.
However, what it implies doesn’t seem to work out.
In the same directory as that README is a file called “network” which is symlinked into the various /etc/rc.d/rc?.d/ directories, i.e.:
# ls -l $(find /etc/rc.d/ -name S*network)
lrwxrwxrwx. 1 root root 17 Jan 26 15:23 /etc/rc.d/rc2.d/S56network ->
../init.d/network lrwxrwxrwx. 1 root root 17 Jan 26 15:23 /etc/rc.d/rc3.d/S56network ->
../init.d/network lrwxrwxrwx. 1 root root 17 Jan 26 15:23 /etc/rc.d/rc4.d/S56network ->
../init.d/network lrwxrwxrwx. 1 root root 17 Jan 26 15:22 /etc/rc.d/rc5.d/S56network ->
But “network” isn’t executed on boot. However, it does work when I run this:
# /etc/init.d/network restart
So is this a bug, or is there something else that needs to be done?