□ /etc/rc.local, /etc/init.d/rc.local : They are exist to provide backward-compatibility. many linux assume that running rc.local is last step of system booting.
□ When I tested(=I added two commands and reboot), /etc/rc.local was worked, but /etc/init.d/rc.local was not. This was the same when there was no /etc/rc.local(=I changed name of rc.local to rc.local1).
Test environment | |||
O S | Ubuntu 15.10 (64bit) | CPU | Intel i7-4710MQ 2.50GHz |
SHELL | GNU bash (4.3.42) | GPU | Gallium 0.4 on SVGA3D |
RAM | 984MiB |