On Tue, Jul 8, 2014 at 10:07 AM, Semi <[email protected]> wrote: > > Scientific Linux 7 ALPHA rc.local doesn't work. Any solution? > I tried the following: > chmod 755 /etc/rc.d/rc.local > ln -s /lib/systemd/system/rc-local.service > /etc/systemd/system/multi-user.target.wants/rc-local.service > systemctl enable rc-local.service
I haven't used EL7 yet so I'm relaying my Fedora 20 experience. You don't need the "ln -s ..." or the "systemctl ..." (in fact the latter does the same as the former when you have an "Install" section) because there's a generator in "/usr/lib/systemd/system-generators/". You need "/etc/rc.d/rc.local" and it has to be executable. But you also need a shebang line.
