![]() |
2011-04-13
, 12:55
|
|
Posts: 159 |
Thanked: 53 times |
Joined on Jan 2011
@ Romania, Cluj-Napoca
|
#462
|
![]() |
2011-04-14
, 16:54
|
Posts: 569 |
Thanked: 462 times |
Joined on Jul 2010
@ USA
|
#463
|
/home/user/scripts/tingtang.sh: line 1: #!: not found
![]() |
2011-04-14
, 17:13
|
Posts: 89 |
Thanked: 52 times |
Joined on Jan 2010
@ London, UK
|
#464
|
![]() |
2011-04-14
, 18:09
|
Posts: 569 |
Thanked: 462 times |
Joined on Jul 2010
@ USA
|
#465
|
/home/user/scripts/tingtang.sh: line 1: #!: not found
#!/bin/sh #! /bin/sh #!/bin/bash #! /bin/bash
![]() |
2011-05-06
, 11:32
|
Posts: 356 |
Thanked: 69 times |
Joined on Jan 2010
@ Poland
|
#466
|
![]() |
2011-05-06
, 11:43
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#467
|
The Following User Says Thank You to nicolai For This Useful Post: | ||
![]() |
2011-05-10
, 13:27
|
Posts: 235 |
Thanked: 86 times |
Joined on Dec 2010
|
#468
|
![]() |
2011-05-11
, 14:04
|
Posts: 24 |
Thanked: 5 times |
Joined on Feb 2011
|
#469
|
![]() |
2011-05-28
, 17:51
|
|
Posts: 468 |
Thanked: 775 times |
Joined on May 2010
@ Hereford, England
|
#470
|
Am wondering if one of:
a) the 'if' in the top comments got put onto its own new line and considered a command instead of (as it should be) at the end of the "# Function: " comment line at top
b) its being picky over the ";" immediately next to the "]" on the last if/then/fi block - after the $retrys -lt 5, separate them (though that shouldn't be reason).
c) The comment line lost its "#" just before the "if we connected just for this" online ~31 or so.
Just some thoughts having not tried it/not quite sure of differences between the n900 shell and regular bash shell on another box.