sysv-generator: follow symlinks in /etc/rc.d/init.d
authorLukas Nykryn <lnykryn@redhat.com>
Fri, 11 Sep 2015 14:23:07 +0000 (16:23 +0200)
committerLukas Nykryn <lnykryn@redhat.com>
Fri, 11 Sep 2015 14:23:07 +0000 (16:23 +0200)
commit7b729f8686a83b24f3d9a891cde1c35a6aa37cf9
treea8b9ec65d2de72a3097963855621bb254178b4bb
parent3227b2bced36940554e3cefb6b995623227de822
sysv-generator: follow symlinks in /etc/rc.d/init.d

Some java packages puts a symlink to init.d and its content is pointing
to latest java installation (because you can have multiple javas on you
machine).

On rhel-based distributions you can use alternatives --initscript
instread of symlink, but this is not usable for other distributions.
src/sysv-generator/sysv-generator.c