/Designs/Measuring_instruments/RMDS01A/SW/Scripts/setup_lo.sh |
---|
1,6 → 1,8 |
#!/bin/sh |
### BEGIN INIT INFO |
# Provides: setup_lo |
# Required-Start: $network $remote_fs $syslog |
# Required-Stop: $network $remote_fs $syslog |
# Default-Start: 2 3 4 5 |
# Default-Stop: 0 1 6 |
# Short-Description: Tune local oscilator |
23,7 → 25,7 |
freq=142.997918 |
case "$1" in |
start|required-start) |
start) |
"usbsoftrock -m 2 set freq $freq" |
;; |
restart|reload|force-reload) |
33,7 → 35,7 |
"usbsoftrock -m 2 set freq $freq" |
exit 3 |
;; |
stop|required-stop) |
stop) |
# No-op |
;; |
*) |