View Single Post
Posts: 171 | Thanked: 13 times | Joined on Nov 2009
#595
Hi
I have a script at:
/root/scripts/syncfiles

I want to run it via a screen button eg beecon. Problem I am having is getting beecon to run it as root via command sudo gainroot. Every time I run in advanced mode eg:
sudo gainroot
/root/scripts/syncfiles

it freezes. Anyway to create a wrapper for the command?