Changeset 3522:121fde0edc88 in roaraudio for dist


Ignore:
Timestamp:
02/18/10 12:03:56 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

report status of daemon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dist/debian-like/roaraudio

    r3521 r3522  
    132132ROARD_OPTS="$ROARD_OPTS $ESD_OPTS" 
    133133 
     134set -e 
     135 
    134136case "$1" in 
    135137  start) 
    136         echo -n "Starting $DESC: $NAME" 
     138        echo -n "Starting $DESC: " 
    137139        $DAEMON --start $ROARD_OPTS 
    138         echo "." 
     140        echo "$NAME." 
    139141        ;; 
    140142  stop) 
    141         echo -n "Stopping $DESC: $NAME" 
     143        echo -n "Stopping $DESC: " 
    142144        $DAEMON --stop $ROARD_OPTS 
    143         echo "." 
     145        echo "$NAME." 
    144146        ;; 
    145147  restart|force-reload) 
    146         echo -n "Restarting $DESC: $NAME" 
     148        echo -n "Restarting $DESC: " 
    147149        $DAEMON --restart $ROARD_OPTS 
    148         echo "." 
     150        echo "$NAME." 
    149151        ;; 
    150152  terminate|shutdown) 
    151         echo -n "Terminating $DESC: $NAME" 
     153        echo -n "Terminating $DESC: " 
    152154        $DAEMON --shutdown $ROARD_OPTS 
    153         echo "." 
     155        echo "$NAME." 
    154156        ;; 
    155157  *) 
Note: See TracChangeset for help on using the changeset viewer.