summarylogtreecommitdiffstats
path: root/opensm.launch
blob: 6d2d9c6fd97526c0aa19544ea7706c1d4d30314e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
# Upstream doesn't provide a systemd .service file
# There is a timing bug that intermittently causes signal 15 failures on start
# Fedora's workaround is to use a separate script
# Copied from Fedora's opensm-3.3.17-4.fc22.x86_64.rpm
# Following Arch's philosophy of deviating from upstream as little as possible,
# modified to just launch opensm.
# If you need simultaneous multiple interfaces, instead check out the AUR package
# opensm-systemd-multiple-interfaces
#
# Launch the necessary OpenSM daemons for systemd

(while true; do /usr/bin/opensm; sleep 30; done) &
exit 0