rkhunter should check for ac power

Bug #674660 reported by H.-Dirk Schmitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rkhunter (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: rkhunter

rkhunter create a lot of disk io and consumes much battery power.
It would be meaningfull to use the code fragment from /etc/cron.daily/mlocate:

if which on_ac_power >/dev/null 2>&1; then
    ON_BATTERY=0
    on_ac_power >/dev/null 2>&1 || ON_BATTERY=$?
    if [ "$ON_BATTERY" -eq 1 ]; then
        exit 0
    fi
fi

summary: - rkhunter chould check for ac power
+ rkhunter should check for ac power
Julien Valroff (julienv)
Changed in rkhunter (Ubuntu):
status: New → In Progress
Julien Valroff (julienv)
Changed in rkhunter (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.