Add acpi_asus(4) module for adding Asus laptop support to ACPI.
[dragonfly.git] / etc / periodic / daily / 160.clean-hammer
blobd3a52d27feeae9fa5330da7eaf484776a81e798a
1 #!/bin/sh
3 # $DragonFly: src/etc/periodic/daily/160.clean-hammer,v 1.1 2008/10/22 20:15:55 swildner Exp $
5 # Snapshot/prune/reblock all HAMMER file systems
8 # If there is a global system configuration file, suck it in.
10 if [ -r /etc/defaults/periodic.conf ]
11 then
12 . /etc/defaults/periodic.conf
13 source_periodic_confs
16 case "$daily_clean_hammer_enable" in
17 [Yy][Ee][Ss])
18 echo ""
19 echo "HAMMER maintenance:"
20 case "$daily_clean_hammer_verbose" in
21 [Yy][Ee][Ss])
22 verbose=-v;;
24 verbose=;;
25 esac
27 hammer $verbose cleanup && rc=0;;
29 *) rc=0;;
30 esac
32 exit $rc