Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 161118 Details for
Bug 246991
Initscript Review
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
now with an LSB header
nasd.init (text/plain), 1.38 KB, created by
Frank Büttner
on 2007-08-11 17:47:45 UTC
(
hide
)
Description:
now with an LSB header
Filename:
MIME Type:
Creator:
Frank Büttner
Created:
2007-08-11 17:47:45 UTC
Size:
1.38 KB
patch
obsolete
>#!/bin/bash >### BEGIN INIT INFO ># Provides: nasd ># Default-Start: 5 ># Default-Stop: 0 1 2 3 4 6 ># Short-Description: start the nas daemon ># Description: Network transparent audio server >### END INIT INFO ># Only for Fedora ># chkconfig: 345 88 88 > >#Servicename >SERVICE=nasd > >#Source function library. >. /etc/init.d/functions > >[ -f /usr/bin/$SERVICE ] || exit 0 > ># Source config >if [ -f /etc/sysconfig/$SERVICE ] ; then > . /etc/sysconfig/$SERVICE >else > NASD_OPTIONS="-b -local" >fi > >RETVAL=0 > >start() { >#not for now #Be sure that /dev/dsp is readable >#not for now chmod g+rw /dev/sound/* > >#not for now daemon --user=$SERVICE $SERVICE $NASD_OPTIONS > #if running return 0 > if [ -n "`/sbin/pidof $SERVICE`" ]; then > RETVAL=0 > return $RETVAL > fi > daemon $SERVICE $NASD_OPTIONS > RETVAL=$? > echo > [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$SERVICE > return $RETVAL >} >stop() { > #if not running return 0 > if [ -z "`/sbin/pidof $SERVICE`" ]; then > RETVAL=0 > return $RETVAL > fi > killproc $SERVICE > RETVAL=$? > echo > [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$SERVICE > return $RETVAL >} >rhstatus() { > status $SERVICE > >} >restart() { > stop > start >} > >case "$1" in > start) > start > ;; > stop) > stop > ;; > status) > rhstatus > ;; > restart|reload) > restart > ;; > condrestart) > [ -f /var/lock/subsys/$SERVICE ] && restart || : > ;; > *) > echo $"Usage: $0 {start|stop|status|restart|condrestart}" > exit 1 >esac > >exit $? >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 246991
:
160698
| 161118