Hi!
I want to be able to change CCcam.cfg file from the blue panel. To achieve this I have placed two scripts in the /usr/script directory:
One is called 1.sh and it goes like this:
Code:
#!/bin/sh
rm /etc/CCcam.cfg
cp /etc/CCcam.cfg.1 /etc/CCcam.cfg
The other is called 2.sh and it's basically the same (only the source file changes):
Code:
#!/bin/sh
rm /etc/CCcam.cfg
cp /etc/CCcam.cfg.2 /etc/CCcam.cfg
I gave both of them 755 permissions.
Problem is when I go to the blue panel -> utilities -> user scripts and launch one of the scripts it says:
Code:
/bin/sh /usr/script/1_user.sh Not Found!
exevution halted
I can't understand what I'm doing wrong. Any help?
Thanks!!
Bookmarks