You are not logged in.
Pages: 1
Is all verbose output from rc.d scripts sent to /dev/null as standard? If this is the case shouldn't this be the better?
case "$1" in
start)
stat_busy "Starting Music Player Daemon"
- [ -z "$PID" ] && /usr/bin/mpd /etc/mpd.conf
+ [ -z "$PID" ] && /usr/bin/mpd /etc/mpd.conf &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
Offline
that is how i setup my daemons..
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Is all verbose output from rc.d scripts sent to /dev/null as standard? If this is the case shouldn't this be the better?
case "$1" in start) stat_busy "Starting Music Player Daemon" - [ -z "$PID" ] && /usr/bin/mpd /etc/mpd.conf + [ -z "$PID" ] && /usr/bin/mpd /etc/mpd.conf &> /dev/null if [ $? -gt 0 ]; then stat_fail else
yupp, actually it is the standard ... file a bug report
-neri
Offline
wo-hoo! i love bug spotting!
Offline
Pages: 1