Hello Felix!
Wouldn't it be better to overwrite the full path here to set it to the
same value that gets set in the boot scripts? Just in case the user's
PATH deviates even more than just the lack of /usr/sbin
Yes, I agree with you. I'll send v2 patch.
matsu
(2011年01月26日 20:17), Felix Fietkau
On 2011-01-26 9:12 AM, kentarou matsuyama wrote:
> Add /usr/sbin/ to PATH in case it is missing (e.g. when executing the script
> from remote by using ssh IP /etc/init.d/cron restart)
> ---
> package/busybox/files/cron |2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a
Add /usr/sbin/ to PATH in case it is missing (e.g. when executing the script
from remote by using ssh IP /etc/init.d/cron restart)
---
package/busybox/files/cron |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/package/busybox/files/cron b/package/busybox/files/cron
index