modified makeinstall to make scripts executable
This commit is contained in:
10
Makefile
10
Makefile
@@ -7,12 +7,12 @@ install:
|
|||||||
install -d /etc/cron.weekly
|
install -d /etc/cron.weekly
|
||||||
install -d /etc/cron.monthly
|
install -d /etc/cron.monthly
|
||||||
install -m 0644 etc/zfs-auto-snapshot.cron.frequent /etc/cron.d/zfs-auto-snapshot
|
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 -m 0744 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 -m 0744 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 -m 0744 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.monthly /etc/cron.monthly/zfs-auto-snapshot
|
||||||
install -d /usr/local/sbin
|
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:
|
uninstall:
|
||||||
rm /etc/cron.d/zfs-auto-snapshot
|
rm /etc/cron.d/zfs-auto-snapshot
|
||||||
|
|||||||
Reference in New Issue
Block a user