fix device reboot if nowplayingd misbehaves
[nowplayingd] / debian / postinst
1 #!/bin/sh -e
2
3 DAEMON=/usr/bin/nowplayingd
4 DSMETOOL=/usr/sbin/dsmetool
5 DSMETOOL_PARAMETERS="-f"
6
7 if [ -x $DAEMON ]; then
8         echo "Starting nowplayingd..."
9         $DSMETOOL $DSMETOOL_PARAMETERS $DAEMON
10 fi