cool, thanks for sharing!
one simple way to handle the root requirement is to put the working code into a alf.sh script, then have the .lin script use start-stop-demon to start the alf.sh script, e.g. start-stop-daemon --start -c root -x /diska/alf.sh &



Reply With Quote