dream wrote: 
> I think the most easiest way is wrapping a busybox in the package.
> 
> Currently we got three affected command: grep ping df. 
> So do like this 
> 
> 
> [/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer] #
> PATH=/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/:$PATH
> [/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer] # cp
> /bin/busybox_1.19.4  ./busybox
> 
> [/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer] # ln -s busybox grep
> [/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer] # ln -s busybox df
> [/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer] # ln -s busybox ping
> 
> [/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer] # cd ..
> 
> [/share/CACHEDEV1_DATA/.qpkg] # which ping
> /share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/ping
> 
> [/share/CACHEDEV1_DATA/.qpkg] # hash -r
> [/share/CACHEDEV1_DATA/.qpkg] # ping
> BusyBox v1.19.4 (2014-01-14 05:22:16 PST) multi-call binary.
> 
> Usage: ping [OPTIONS] HOST
> 
> Send ICMP ECHO_REQUEST packets to network hosts
> 
> -4,-6           Force IP or IPv6 name resolution
> -c CNT          Send only CNT pings
> -s SIZE         Send SIZE data bytes in packets (default:56)
> -t TTL          Set TTL
> -I IFACE/IP     Use interface or IP address as source
> -W SEC          Seconds to wait for the first response
> (default:10)
> (after all -c CNT packets are sent)
> -w SEC          Seconds until ping exits (default:infinite)
> (can exit earlier with -c CNT)
> -q              Quiet, only displays output at start
> and when finishedTry the PERL=1, think it will solve it. The busybox ping df 
> are just for
testing. 

Send from my mobile Phone



*
maintainer of QLogitechMediaServer, QOptware-NG and QAutoSub.

Qnap TS-453a, with LogitechMediaSever 8.0.0 Nightly  ( with spotty,
youtube, Radio Paradise a.m. )
Several raspberry with hifiberry amp+ and picoreplayer.
Love logitechmediaserver for it flexibel way, to play music from
different sources.


'Thanks for the DONATIONS' (https://paypal.me/pools/c/8iYTFsTibV)*
------------------------------------------------------------------------
digimaster's Profile: http://forums.slimdevices.com/member.php?userid=66919
View this thread: http://forums.slimdevices.com/showthread.php?t=108702

_______________________________________________
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to