first commit , first release

This commit is contained in:
admin
2020-04-16 01:49:22 +02:00
parent 8907581851
commit e2bc399c02
8 changed files with 184 additions and 21 deletions

26
Makefile Normal file
View File

@@ -0,0 +1,26 @@
all:
install:
install -d /etc/cron.d
install -d /etc/cron.daily
install -d /etc/cron.hourly
install -d /etc/cron.weekly
install -d /etc/cron.monthly
install -m 0644 etc/zfs-auto-snapshot.cron.frequent /etc/cron.d/zfs-auto-snapshot
install etc/zfs-auto-snapshot.cron.hourly /etc/cron.hourly/zfs-auto-snapshot
install etc/zfs-auto-snapshot.cron.daily /etc/cron.daily/zfs-auto-snapshot
install etc/zfs-auto-snapshot.cron.weekly /etc/cron.weekly/zfs-auto-snapshot
install etc/zfs-auto-snapshot.cron.monthly /etc/cron.monthly/zfs-auto-snapshot
install -d /usr/local/sbin
install src/zfs-auto-snapshot.sh /usr/local/sbin/zfs-auto-snapshot
uninstall:
rm /etc/cron.d/zfs-auto-snapshot
rm /etc/cron.hourly/zfs-auto-snapshot
rm /etc/cron.daily/zfs-auto-snapshot
rm /etc/cron.weekly/zfs-auto-snapshot
rm /etc/cron.monthly/zfs-auto-snapshot
rm /usr/local/sbin/zfs-auto-snapshot