Reply
Thread Tools
lorenzo's Avatar
Posts: 491 | Thanked: 299 times | Joined on Jul 2012 @ Pordenone IT
#5661
yes, if there were wrong names the output should be "no such file or directory"
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#5662
Copy/paste the full output..
Ps. You run it as root ?
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#5663
Finally I'm at home... I tested this script and it work like expected
Code:
RM696-21-3_PR_001:~# sh /home/user/MyDocs/Downloads/auto-wall.sh
RM696-21-3_PR_001:~#
 
lorenzo's Avatar
Posts: 491 | Thanked: 299 times | Joined on Jul 2012 @ Pordenone IT
#5664
this is the output
Code:
sh /home/user/scripts/auto-wall.sh
sh: mywall1.png: unknown operand
sh: mywall2.png: unknown operand
sh: mywall3.png: unknown operand
sh: mywall4.png: unknown operand
sh: mywall5.png: unknown operand
sh: mywall6.png: unknown operand
sh: mywall7.png: unknown operand
 
lorenzo's Avatar
Posts: 491 | Thanked: 299 times | Joined on Jul 2012 @ Pordenone IT
#5666
same result :/
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#5667
Ok, do something...
apply one of the images from tweak F-7 and after this run the new script.
 
lorenzo's Avatar
Posts: 491 | Thanked: 299 times | Joined on Jul 2012 @ Pordenone IT
#5668
always "unknown operand"... maybe something i didn't reinstalled?
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#5669
weird.... It's just simple script...
Try to run this command as USER:
Code:
sed -i 's/^M$//' /home/user/scripts/auto-wall.sh
And after this run this script as ROOT:
Code:
sh /home/user/scripts/auto-wall.sh

Last edited by Schturman; 2013-03-04 at 15:30.
 

The Following User Says Thank You to Schturman For This Useful Post:
lorenzo's Avatar
Posts: 491 | Thanked: 299 times | Joined on Jul 2012 @ Pordenone IT
#5670
thanks for help but doesn't work
 
Reply

Tags
hebrew vkb, n9 qtweak, n9 quick tweak, n9 quicktweak, root-ssh

Thread Tools

 
Forum Jump


All times are GMT. The time now is 02:44.