aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-06-27 13:44:51 +0200
committerHarald Welte <laforge@gnumonks.org>2016-06-27 13:50:25 +0200
commit7267a0d37e54321565a5388a3c8abd3efc573c74 (patch)
treed3749ee248cee366aeaaf14e6326d6f5bd853e20
parentd5f95c308b836dd84753edafb7a63c19a2f36e98 (diff)
sysmobts: screnrc/systemd-service: Use osmo-bts-sysmo instead of sysmobts
Back in January in commit 634c3e46484a0932f8a04b894be215b9288eecff we changed the executable name from 'sysmobts' to 'osmo-bts-sysmo', which is a change that has not been propagated to the contributed screenrc and systemd init files. Change-Id: I875a0ce4f470226e1b06ed1b7c74ca9471ebb574
-rw-r--r--contrib/screenrc-sysmobts2
-rw-r--r--contrib/sysmobts.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/screenrc-sysmobts b/contrib/screenrc-sysmobts
index 80e78cc..9c810d9 100644
--- a/contrib/screenrc-sysmobts
+++ b/contrib/screenrc-sysmobts
@@ -1,5 +1,5 @@
chdir /tmp
-screen -t BTS 0 /etc/osmocom/respawn.sh /usr/bin/sysmobts -c /etc/osmocom/osmo-bts.cfg -r 1 -M
+screen -t BTS 0 /etc/osmocom/respawn.sh /usr/bin/osmo-bts-sysmo -c /etc/osmocom/osmo-bts.cfg -r 1 -M
screen -t PCU 1 /etc/osmocom/respawn-only.sh /usr/bin/osmo-pcu -c /etc/osmocom/osmo-pcu.cfg -e
screen -t MGR 2 /etc/osmocom/respawn-only.sh /usr/bin/sysmobts-mgr -n -c /etc/osmocom/sysmobts-mgr.cfg
detach
diff --git a/contrib/sysmobts.service b/contrib/sysmobts.service
index c4f8c38..e07a3db 100644
--- a/contrib/sysmobts.service
+++ b/contrib/sysmobts.service
@@ -4,7 +4,7 @@ Description=sysmocom sysmoBTS
[Service]
Type=simple
ExecStartPre=/bin/sh -c 'echo 0 > /sys/class/leds/activity_led/brightness'
-ExecStart=/usr/bin/sysmobts -s -c /etc/osmocom/osmo-bts.cfg -M
+ExecStart=/usr/bin/osmo-bts-sysmo -s -c /etc/osmocom/osmo-bts.cfg -M
ExecStopPost=/bin/sh -c 'echo 0 > /sys/class/leds/activity_led/brightness'
ExecStopPost=/bin/sh -c 'cat /lib/firmware/sysmobts-v?.bit > /dev/fpgadl_par0 ; sleep 3s; cat /lib/firmware/sysmobts-v?.out > /dev/dspdl_dm644x_0; sleep 1s'
Restart=always