[arch-commits] Commit in fluidsynth/trunk (fluidsynth.conf fluidsynth.rc)
Ray Rashif
schiv at nymeria.archlinux.org
Tue May 14 10:11:37 UTC 2013
Date: Tuesday, May 14, 2013 @ 12:11:36
Author: schiv
Revision: 185444
upgpkg: fluidsynth 1.1.6-2
remove rc scripts completely
Deleted:
fluidsynth/trunk/fluidsynth.conf
fluidsynth/trunk/fluidsynth.rc
-----------------+
fluidsynth.conf | 2 --
fluidsynth.rc | 40 ----------------------------------------
2 files changed, 42 deletions(-)
Deleted: fluidsynth.conf
===================================================================
--- fluidsynth.conf 2013-05-14 10:10:44 UTC (rev 185443)
+++ fluidsynth.conf 2013-05-14 10:11:36 UTC (rev 185444)
@@ -1,2 +0,0 @@
-FSYNTH_OPTS="-a alsa -m alsa_seq -r 48000"
-FSYNTH_SOUNDFONT="" # path to your soundfont
Deleted: fluidsynth.rc
===================================================================
--- fluidsynth.rc 2013-05-14 10:10:44 UTC (rev 185443)
+++ fluidsynth.rc 2013-05-14 10:11:36 UTC (rev 185444)
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-[ -f /etc/conf.d/fluidsynth ] && . /etc/conf.d/fluidsynth
-
-PID=`pidof -o %PPID /usr/bin/fluidsynth`
-case "$1" in
- start)
- stat_busy "Starting Fluidsynth soundfont synthesizer"
- [ -z "$PID" ] && /usr/bin/fluidsynth -is $FSYNTH_OPTS $FSYNTH_SOUNDFONT > /dev/null 2>&1 &
- if [ $? -gt 0 ]; then
- stat_fail
- else
- echo $PID > /var/run/fluidsynth.pid
- add_daemon fluidsynth
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Fluidsynth soundfont synthesizer"
- [ ! -z "$PID" ] && kill $PID &> /dev/null 2>&1
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm /var/run/fluidsynth.pid
- rm_daemon fluidsynth
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
More information about the arch-commits
mailing list