The bug was introduced when I began using sudo.
I need (AFAIK) to give sudo the full path of a command in order to run it.
I'm now working to move all sudo based commands into configured variables, just as it's done with FPING (${SUDO}${FPING}, so
that I can set these variables in a distribution agnostic way.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
compat.sh now works, if run as root (no sudo), and properly guesses the location of these scripts.
However, this is pretty much pointless, since the problem was introduced with the use of sudo.
You can enter the locations by hand at the default placeholders there, and it will work with sudo. I tested this on my system
and everything worked OK after the change (there are no absolute path references now on the code, AFAIK, I'm using variables to
refer to all the programs I invoke through sudo)
I would like you to either change the resolution to Invalid, and provide more information for me to keep working on the issue, or
change it to Accepted, so I can close the bug :)
Regards.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=112767
Originator: NO
I'm changing this so it's called from $PATH, and if it works I'll commit the changes in the next release.
Logged In: YES
user_id=112767
Originator: NO
The bug was introduced when I began using sudo.
I need (AFAIK) to give sudo the full path of a command in order to run it.
I'm now working to move all sudo based commands into configured variables, just as it's done with FPING (${SUDO}${FPING}, so
that I can set these variables in a distribution agnostic way.
Logged In: YES
user_id=112767
Originator: NO
compat.sh now works, if run as root (no sudo), and properly guesses the location of these scripts.
However, this is pretty much pointless, since the problem was introduced with the use of sudo.
You can enter the locations by hand at the default placeholders there, and it will work with sudo. I tested this on my system
and everything worked OK after the change (there are no absolute path references now on the code, AFAIK, I'm using variables to
refer to all the programs I invoke through sudo)
I would like you to either change the resolution to Invalid, and provide more information for me to keep working on the issue, or
change it to Accepted, so I can close the bug :)
Regards.