We need opensm to not go into the background and act like a daemon
for our new launch script, so don't have it do so.
Signed-off-by: Doug Ledford <dledford@redhat.com>
- Drop the old sysv init script
- Fix opensm-launch to restart opensm in a loop. This works around the
fact that systemd starts opensm so early that we very well might not
have sync on the link yet. Without the physical link being up, opensm
exits immediately. This way opensm will get restarted every 30 seconds
until sync is active on the link or until the opensm service is
stopped.
- Always install the newly generated opensm-%%{version}.conf as
opensm.conf
- Make the launch work properly in the event that no GUIDs are
set and there are no numbered config files
Signed-off-by: Doug Ledford <dledford@redhat.com>