2 #PKG logitechmediaserver
10 test x
"${logitechmediaserver:-NO}" = x
"NO" && exit 0
11 test x
"$logitechmediaserver" = x
"DAEMON" && test -x /bin
/mksh
&& exec mksh
-T- $0 start
15 mkdir
-p /data
/lms
/Cache
/data
/lms
/Logs
/data
/lms
/prefs
16 chown
-R squeezeboxserver
/data
/lms
17 su squeezeboxserver
-c 'perl /opt/lms/slimserver.pl --daemon'
26 echo "Usage: $0 {start | stop | restart}"