From 7267a0d37e54321565a5388a3c8abd3efc573c74 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 27 Jun 2016 13:44:51 +0200 Subject: 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 --- contrib/screenrc-sysmobts | 2 +- contrib/sysmobts.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/screenrc-sysmobts b/contrib/screenrc-sysmobts index 80e78cc5..9c810d9f 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 c4f8c388..e07a3db8 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 -- cgit v1.2.3