View Single Post
Posts: 669 | Thanked: 433 times | Joined on May 2010
#7
Originally Posted by ekze View Post
Hey!
Having problems running this script.

Command '/home/user/smart/scripts/vncmode'
failed with return code 0 and error message
/home/user/smart/scripts/vncmode: line 3:
/home/user/smart/scripts/keepawake: not found

Seems to be something wrong with this part:
while [ -f /home/user/smart/flags/keepawake ]

Apart from keepawake, everything is working great, as it should.


And yeah, the file is present and the permissions are set right, I triple checked. All mentioned packages are also installed.

Can you help me with this?
Attached. You also need to create "/home/user/smart/flags" folder with write permissions/modify the script to another folder.

Good luck.
Attached Files
File Type: zip keepawake.zip (325 Bytes, 96 views)
 

The Following User Says Thank You to impeham For This Useful Post: