From 84537e93ad14ae043ad089d65ecb2d90284425f7 Mon Sep 17 00:00:00 2001 From: Giacomo Picchiarelli Date: Sat, 17 Aug 2019 21:06:21 +0200 Subject: [PATCH] FIX: etc path installation --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 0efefe5..d774283 100644 --- a/src/Makefile +++ b/src/Makefile @@ -17,7 +17,7 @@ ${NAME}.o: ${NAME}.c realinstall: all cp ${DAEMON_NAME} ${LOCALBASE}/etc/rc.d/${DAEMON_NAME} cp ${NAME} ${LOCALBASE}${BINDIR}${NAME} - chmod 0555 ${LOCALBASE}/etc/rc.d/${DAEMON_NAME} + chmod 0555 /etc/rc.d/${DAEMON_NAME} chmod 0555 ${LOCALBASE}${BINDIR}${NAME} rcctl enable ${DAEMON_NAME} rcctl start ${DAEMON_NAME} @@ -28,7 +28,7 @@ clean: @echo "Cleaning up: done." rcctl stop ${DAEMON_NAME} rcctl disable ${DAEMON_NAME} - rm ${LOCALBASE}/etc/rc.d/${DAEMON_NAME} + rm /etc/rc.d/${DAEMON_NAME} rm ${LOCALBASE}${BINDIR}${NAME} .include