#
# description: Enlightenment sound server
#
# Version: @(#)esd 0.1 15-Sept-2003 ebricca AT users.sf.net
#
# sichern unter /etc/init.d/esd
#
# CFG=/etc/esound/esd.conf
#

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/esd
NAME=esd
DESC="Enlightenment sound server"
SOUNDDEVICE=/dev/dsp
cmdln="-d $SOUNDDEVICE"
PIDFILE=/var/run/$NAME.pid

test -x $DAEMON || exit 0

set -e

case "1ドル" in
 start)
 echo -n "Starting $DESC: $NAME"
 start-stop-daemon --start --background --pidfile $PIDFILE --make-pidfile \
 --quiet --exec $DAEMON -- $cmdln
 echo "."
 ;;
 stop)
 echo -n "Stopping $DESC: $NAME "
 start-stop-daemon --stop --quiet --exec $DAEMON
 echo "."
 ;;
 restart)
 #
 #
 0ドル stop
 sleep 1
 0ドル start
 ;;
 *)
 N=/etc/init.d/$NAME
 # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
 echo "Usage: $N {start|stop|restart}" >&2
 exit 1
 ;;
esac

exit 0

Debian/InstallationPPC/esd (zuletzt geändert am 2007年12月23日 22:49:42 durch localhost)

AltStyle によって変換されたページ (->オリジナル) /