View Single Post
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#8
Why is the binary /usr/bin/photolightmeter so huge? It's double the size of OMP and Xorg while being just a couple of buttons in UI.

MasterZap,

Code:
 $ cat /home/user/MyDocs/bin/lux.sh 
lux=0
while [ 1 == 1 ]; do
 new=`cat /sys/bus/i2c/drivers/tsl2563/2-0029/lux`
 if [ "$lux" != "$new" ]
 then
  lux=$new
 echo `date '+%y%m%d_%H%M%S'`"	"$lux
 fi
 

The Following User Says Thank You to int_ua For This Useful Post: