From 4a8181edc8c5a00a767ac675721c3848bd0a623d Mon Sep 17 00:00:00 2001 From: Giovanni Di Grezia Date: Sun, 6 Feb 2022 12:20:26 +0100 Subject: [PATCH] modified makeinstall to make scripts executable --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 4b0e54d..10df8b8 100644 --- a/Makefile +++ b/Makefile @@ -7,12 +7,12 @@ install: 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 -m 0744 etc/zfs-auto-snapshot.cron.hourly /etc/cron.hourly/zfs-auto-snapshot + install -m 0744 etc/zfs-auto-snapshot.cron.daily /etc/cron.daily/zfs-auto-snapshot + install -m 0744 etc/zfs-auto-snapshot.cron.weekly /etc/cron.weekly/zfs-auto-snapshot + install -m 0744 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 + install -m 0744 src/zfs-auto-snapshot.sh /usr/local/sbin/zfs-auto-snapshot uninstall: rm /etc/cron.d/zfs-auto-snapshot