log2ram risen from the dead?

I gave my NanoPi NEO on v147 email access and I immediately started getting hourly notifications from cron:

Subject: Cron root@mhj-neo cd / && run-parts --report /etc/cron.hourly

/etc/cron.hourly/log2ram: 3: /etc/cron.hourly/log2ram: /usr/local/sbin/log2ram: not found
run-parts: /etc/cron.hourly/log2ram exited with return code 127

So I took a look inside /etc/cron.hourly and found: -rwxr-xr-x 1 root root 42 Feb 3 05:06 log2ram :open_mouth:

Inside log2ram:

#! /#! /bin/sh

/usr/local/sbin/log2ram write

Problem is, there is nothing in /usr/local/sbin

I did my homework and found #781 which says it’s gone since v145. So how do I get rid of this undead thing?

Hi Jake,

Thanks for the report.

Yep, this was added to ARMbian’s images in the last few months (we didn’t know at the time). Pretty sure we removed all traces of it, but the following should do it:

rm /etc/cron.hourly/log2ram

I’ll add that to our patch aswell for v148 update.

Alright! I put a stake in it and it’s done. (I hope)

Thanks, Fourdee!! :rofl: