Jump to content


Photo

script mit while

ultimo

  • Please log in to reply
5 replies to this topic

#1 kaneguru

  • Senior Member
  • 198 posts

+1
Neutral

Posted 28 June 2012 - 16:18

hallo.
ich schaffe es nciht ein script mit while einzustezen.

/etc/rc3.d/S25oscam.sh: line 5: syntax error: unexpected "done" (expecting "do")

was ist da falsch?

es klappt aber auch nicht mit "do"
1. VU+ Ultimo VTi5.0 Samsung LCD
2. ET 9000 PLi3.0 Samsung LCD

Wavefrontier 0,8°-4,8°-9°-13°-19,2°-23°-28°

Re: script mit while #2 Pike_Bishop

  • Senior Member
  • 902 posts

+33
Good

Posted 29 June 2012 - 21:04

Hi,

Also ehrlich, auf das erwartest ernsthaft ne Antwort ?

Wo is das Script -> poste es sonst wird dir keiner helfen können.


Grüsse
Biki3

Edited by Biki3, 29 June 2012 - 21:06.

Receiver: Mutant HD 2400, VU Ultimo 4k

Image: PLI 7.1


Re: script mit while #3 kaneguru

  • Senior Member
  • 198 posts

+1
Neutral

Posted 30 June 2012 - 11:17

sorry

#!/bin/sh
while sleep 15
do
file2=/tmp/userdockstar.txt
cat /tmp/dockstar.lcd | grep ^U > $file2
done

selbes script läuft aber auf der dockstar

Edited by kaneguru, 30 June 2012 - 11:20.

1. VU+ Ultimo VTi5.0 Samsung LCD
2. ET 9000 PLi3.0 Samsung LCD

Wavefrontier 0,8°-4,8°-9°-13°-19,2°-23°-28°

Re: script mit while #4 Dimitrij

  • PLi® Core member
  • 6,743 posts

+222
Excellent

Posted 30 June 2012 - 16:32


#!/bin/sh

while true

do sleep 15;

********

done


Lunix3-4K/VU+solo4k(thanks guys to gisclub.tv)


Re: script mit while #5 kaneguru

  • Senior Member
  • 198 posts

+1
Neutral

Posted 1 July 2012 - 08:37

thx
1. VU+ Ultimo VTi5.0 Samsung LCD
2. ET 9000 PLi3.0 Samsung LCD

Wavefrontier 0,8°-4,8°-9°-13°-19,2°-23°-28°

Re: script mit while #6 Pike_Bishop

  • Senior Member
  • 902 posts

+33
Good

Posted 1 July 2012 - 13:50

Hi,

Super is also schon gelöst.

Grüsse
Biki3

Receiver: Mutant HD 2400, VU Ultimo 4k

Image: PLI 7.1






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users