From a85307b3d3c76c6742336c1ee701a76f1cc030ec Mon Sep 17 00:00:00 2001
From: mrroman <mrroman@devsite.pl>
Date: Thu, 28 Dec 2023 21:28:38 +0000
Subject: [PATCH] Use ksh instead of sh in rc script

---
 Makefile |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 92f620b..94258e0 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,9 @@
 	@chmod 755 ${DESTDIR}${PREFIX}/bin/vilainreport
 	@chmod 644 ${DESTDIR}${PREFIX}/sbin/vilain.py
 	@chmod 644 ${DESTDIR}${PREFIX}/sbin/vilainreport.py
+	@echo installing sample config file
+	@cp -f vilain.conf /etc/vilain.conf
+	@chmod 644 /etc/vilain.conf
 	@echo installing init script in /etc/rc.d
 	@cp -f vilain.rc /etc/rc.d/vilain
 	@chmod 755 /etc/rc.d/vilain
@@ -38,5 +41,6 @@
 	@rm -f ${DESTDIR}${PREFIX}/sbin/vilainreport.py
 	@echo removing manual page to ${DESTDIR}${MANPREFIX}/
 	@rm -f ${DESTDIR}${MANPREFIX}/vilain.1
+	@echo Remove configuration file manually if you want, located at /etc/vilain.conf
 
 .PHONY: install uninstall

--
Gitblit v1.9.3