1
/sbin/chkconfig --add mt-daapd
/sbin/service mt-daapd condrestart &>/dev/null || true
/usr/sbin/useradd -r -d /var/cache/mt-daapd -s /sbin/nologin -c "mt-daapd Network Multimedia Server" mt-daapd 2>/dev/null || true
1 2 3 4
if [ $1 = 0 ]; then /sbin/service mt-daapd condstop &>/dev/null || true /sbin/chkconfig --del mt-daapd fi