Re: [OpenWrt-Devel] [PATCH 01/13] cron: Add path

2011-01-26 Thread kentarou matsuyama
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

Re: [OpenWrt-Devel] [PATCH 01/13] cron: Add path

2011-01-26 Thread 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

[OpenWrt-Devel] [PATCH 01/13] cron: Add path

2011-01-26 Thread kentarou matsuyama
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