On Thu, Sep 06, 2012 at 01:10:27PM -0400, Glen Barber wrote:
> Hi David,
>  ...
> Can you please try the attached patch?
> 
> Glen
> 

> Index: etc/rc.d/cron
> ===================================================================
> --- etc/rc.d/cron     (revision 240152)
> +++ etc/rc.d/cron     (working copy)
> @@ -12,10 +12,11 @@
>  
>  name="cron"
>  rcvar="cron_enable"
> -command="/usr/sbin/${name}"
>  pidfile="/var/run/${name}.pid"
>  
>  load_rc_config $name
> +command=${cron_program:-/usr/sbin/${name}}
> +
>  if checkyesno cron_dst
>  then
>       cron_flags="$cron_flags -s"

Laptop is running stable/8 @r240161; the above was easy enough to
hand-edit, so I did, then:

d134(8.3-S)[3] pgrep cron ; sudo service cron restart; pgrep cron
1676
Stopping cron.
Starting cron.
3649
d134(8.3-S)[4] ps axwwl | grep -w cron
    0  3649     1   0  47  0  3396  1368 nanslp Is    ??    0:00.00 
/usr/sbin/cron -s
 1001  3652  3575   0  44  0  3508  1240 piperd S+    14    0:00.00 grep -w cron
d134(8.3-S)[5] 

Looks as if it works -- at least, it certainly has the same default
behavior. :-}

Thanks!

Peace,
david
-- 
David H. Wolfskill                              [email protected]
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Attachment: pgpZTHHZWpj9G.pgp
Description: PGP signature

Reply via email to