diff --git a/etc/default/hd-idle##hostname.pi01 b/etc/default/hd-idle##hostname.pi01 new file mode 100644 index 0000000..cba6531 --- /dev/null +++ b/etc/default/hd-idle##hostname.pi01 @@ -0,0 +1,37 @@ +# defaults file for hd-idle + +# start hd-idle automatically? +START_HD_IDLE=true +HD_IDLE_OPTS="-i 0 -a sda -i 1200" + +# hd-idle command line options +# Options are: +# -a Set device name of disks for subsequent idle-time +# parameters (-i). This parameter is optional in the +# sense that there's a default entry for all disks +# which are not named otherwise by using this +# parameter. This can also be a symlink +# (e.g. /dev/disk/by-uuid/...) +# -i Idle time in seconds. +# -c Api call to stop the device. Possible values are "scsi" +# (default value) and "ata". +# -s symlink_policy Set the policy to resolve symlinks for devices. +# If set to "0", symlinks are resolve only on start. +# If set to "1", symlinks are also resolved on runtime +# until success. By default symlinks are only resolve on start. +# If the symlink doesn't resolve to a device, the default +# configuration will be applied. +# -l Name of logfile (written only after a disk has spun +# up). Please note that this option might cause the +# disk which holds the logfile to spin up just because +# another disk had some activity. This option should +# not be used on systems with more than one disk +# except for tuning purposes. On single-disk systems, +# this option should not cause any additional spinups. +# +# Options not exactly useful here: +# -t Spin-down the specified disk immediately and exit. +# -d Debug mode. It will print debugging info to +# stdout/stderr (/var/log/syslog if started as with systemctl) +# -h Print usage information. +#HD_IDLE_OPTS="-i 180 -l /var/log/hd-idle.log"