Skip to content

Allow overriding the default options #106

Open
@paride

Description

@paride

zfs-auto-snapshot is great for its simplicity, however having the possibility to set the default options would be a great plus. This could be done for example by sourcing /etc/default/zfs-auto-snapshot after setting the opt_ defaults, here:

https://github.com/zfsonlinux/zfs-auto-snapshot/blob/master/src/zfs-auto-snapshot.sh#L46

The /etc/default/zfs-auto-snapshot may in this way override any of those options. This is especially important for people installing the tool from a distribution package, as modifying files installed by a package is generally not a good idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions