![]() |
2011-06-07
, 00:14
|
Posts: 958 |
Thanked: 483 times |
Joined on May 2010
|
#521
|
![]() |
2011-06-22
, 07:21
|
Posts: 958 |
Thanked: 483 times |
Joined on May 2010
|
#522
|
![]() |
2011-07-11
, 05:43
|
Posts: 103 |
Thanked: 8 times |
Joined on Jun 2009
|
#523
|
![]() |
2011-07-11
, 06:48
|
Posts: 118 |
Thanked: 39 times |
Joined on Apr 2010
@ Jakarta, Indonesia
|
#524
|
![]() |
2011-07-30
, 05:20
|
|
Posts: 40 |
Thanked: 14 times |
Joined on Sep 2009
@ Monterrey Mexico
|
#525
|
![]() |
2011-08-22
, 09:31
|
|
Posts: 381 |
Thanked: 336 times |
Joined on Jan 2011
@ Stockholm, Sweden
|
#526
|
![]() |
2011-08-22
, 14:36
|
Posts: 46 |
Thanked: 160 times |
Joined on Jun 2010
@ Germany, Berlin
|
#527
|
ls -1 "/home/user/MyDocs/qtirreco/Devices/"
more /etc/lircd.conf
for device in `ls -1 "/home/user/MyDocs/qtirreco/Devices/"` ; do echo $device ; `grep -q $device /etc/lircd.conf` ; if [ $? -gt 0 ] ; then echo "adding $device to /etc/lircd.conf ..." ; echo "include \"/home/user/MyDocs/qtirreco/Devices/$device\"" >> /etc/lircd.conf ; else echo "Device $device already there" ; fi ; done
The Following 2 Users Say Thank You to Ulle For This Useful Post: | ||
![]() |
2011-08-22
, 22:23
|
Posts: 88 |
Thanked: 5 times |
Joined on Aug 2011
|
#528
|
![]() |
2011-08-22
, 23:43
|
|
Posts: 381 |
Thanked: 336 times |
Joined on Jan 2011
@ Stockholm, Sweden
|
#529
|
![]() |
2011-08-27
, 02:17
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#530
|