The Following User Says Thank You to Saturn For This Useful Post: | ||
|
2011-06-25
, 12:58
|
Posts: 11 |
Thanked: 2 times |
Joined on Jun 2007
|
#152
|
The Following User Says Thank You to bass800 For This Useful Post: | ||
|
2011-06-25
, 13:16
|
Posts: 529 |
Thanked: 194 times |
Joined on Aug 2010
@ UK
|
#153
|
|
2011-06-25
, 13:48
|
Posts: 111 |
Thanked: 87 times |
Joined on Jan 2010
@ Plovdiv, Bulgaria
|
#154
|
|
2011-06-25
, 14:25
|
Posts: 83 |
Thanked: 142 times |
Joined on Jun 2011
@ Paris, France
|
#155
|
Hi comaX,
to correct those errors you need for example in line 79:
the following:Code:if [[ $(grep "0" ./test.txt) == "" ]]; then
that is "$(blabla)" type of thing.Code:if [[ "$(grep "0" ./test.txt)" == "" ]]; then
You have this in many ifs but not everywhere and ash is strict about (bash can handle those).
The Following User Says Thank You to comaX For This Useful Post: | ||
|
2011-06-25
, 14:33
|
Posts: 115 |
Thanked: 22 times |
Joined on Feb 2010
@ Mexico
|
#156
|
|
2011-06-25
, 15:01
|
Posts: 83 |
Thanked: 142 times |
Joined on Jun 2011
@ Paris, France
|
#157
|
Do you guys know why am I getting :
Warning : Cannot convert string "nil2" to type Fontstruct
|
2011-06-25
, 15:35
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#158
|
The Following 4 Users Say Thank You to Saturn For This Useful Post: | ||
|
2011-06-25
, 16:03
|
|
Posts: 349 |
Thanked: 309 times |
Joined on Feb 2010
@ PS/IL
|
#159
|
Hi comaX and Unhuman,
I think this removes bash dependencies. Have added also tabs here and there for me to read it easier.
Hope you find it useful.
Note: Haven't tested it much.
|
2011-06-25
, 16:18
|
Posts: 83 |
Thanked: 142 times |
Joined on Jun 2011
@ Paris, France
|
#160
|
Operand errors are gone now. I let it run for 5 minutes, and got no errors whatsoever.
On a side note: xterm really annoys me, font is small, and you can't copy directly from it
Edit: after 10 minutes of running device crashed and restarted. This never happened with the previous scripts.
Tags |
pentesting, tester of pens |
|
to correct those errors you need for example in line 79:
You have this in many ifs but not everywhere and ash is strict about (bash can handle those).
Packages: elGR Locale, SMSCON Editor, Swappolube, CSSU Features Configuration, Snuggle, YAMAS, Cleven
Garage: SMSCON, Swappolube, CSSU Features Configuration, Snuggle
Wiki: SMSCON, SMSCON Editor, Swappolube, CSSU Features Configuration, Cleven
Last edited by Saturn; 2011-06-25 at 11:52. Reason: more understantable info