|
2013-03-03
, 12:22
|
|
Posts: 491 |
Thanked: 299 times |
Joined on Jul 2012
@ Pordenone IT
|
#1152
|
The Following User Says Thank You to lorenzo For This Useful Post: | ||
|
2013-03-03
, 12:36
|
|
Posts: 491 |
Thanked: 299 times |
Joined on Jul 2012
@ Pordenone IT
|
#1153
|
Two problems:
1) Apparently edited with Notepad or something. There is UTF-8 byte order mark in the start of the file (3 bytes). This is what causes "#!/bin/sh not found" error.
2) The script must be run as root. This causes permission denied and all the later errors are related to that.
|
2013-03-03
, 12:45
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#1154
|
so, which program (on pc) can i use to create this script/in wich format save it?
The Following User Says Thank You to ajalkane For This Useful Post: | ||
|
2013-03-03
, 13:05
|
|
Posts: 491 |
Thanked: 299 times |
Joined on Jul 2012
@ Pordenone IT
|
#1155
|
The surest way is to copy-paste it into n9's nano editor and saving.
Other than that it's editor specific. Save it in latin-1 or UTF-8859-1 encoding and you should be fine.
|
2013-03-03
, 13:13
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#1156
|
thanks, no more sh not found but still
sh: mywall(1-7).png: unknow operand
|
2013-03-04
, 09:13
|
Posts: 145 |
Thanked: 36 times |
Joined on May 2012
|
#1157
|
|
2013-03-04
, 09:23
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#1158
|
Thanx a lot for your response but the thing is that i need to quit wazapp when a specified rule applies and to launch it again when that rule de-activates. And d comman which u gave isnt quitting wazapp ..
The Following User Says Thank You to ajalkane For This Useful Post: | ||
|
2013-03-05
, 11:15
|
Posts: 697 |
Thanked: 137 times |
Joined on Jul 2012
@ Hillerød, DK
|
#1159
|
|
2013-03-05
, 12:21
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#1160
|
Have a problem with condition Idle (5min) action PS then incoming call silent? Can that be changed to normal ringing?
(Have tried search but can't find issue!)
Thanks in advance