|
It is quite possible, in fact likely, that your script does not run either ifconfig, or tftp, since you have not provided any $PATH with which to find it. Processes launched by cron do not have the same environment as those run from an interactive shell. The solution may be as simple as specifying the full path to the runtime binaries. If the script runs correctly from an interactive shell, then I would be even more certain that this is at least part of the problem.
--- rod.
|