diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/sysmobts.service | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/sysmobts.service b/contrib/sysmobts.service index adced9c4..fc869ebd 100644 --- a/contrib/sysmobts.service +++ b/contrib/sysmobts.service @@ -5,8 +5,8 @@ Description=sysmocom sysmoBTS 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 -ExecStartPost=/bin/sh -c 'echo 0 > /sys/class/leds/activity_led/brightness' -ExecStartPost=/bin/sh -c 'cat /lib/firmware/sysmobts-v?.out > /dev/dspdl_dm644x_0' +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 RestartSec=2 |