Skip to content

Commit

Permalink
FIX: etc path installation
Browse files Browse the repository at this point in the history
  • Loading branch information
gpicchiarelli committed Aug 17, 2019
1 parent 0e56d49 commit 84537e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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 <bsd.prog.mk>

0 comments on commit 84537e9

Please sign in to comment.