From 410075cd348f383099f6dbfc08ea3c2006d13952 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 16 Apr 2018 22:53:30 +0100 Subject: [PATCH] Add setcap to make install target (we don't do it in the init.d/systemd script anymore, so we have to do it after the binary is copied to its final location) Signed-off-by: DL6ER --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 883fcaff..869ed1cc 100644 --- a/Makefile +++ b/Makefile @@ -116,3 +116,4 @@ prefix=/usr # the service script on sudo service pihole-FTL (re)start install: pihole-FTL install -m 0755 pihole-FTL $(prefix)/bin + /sbin/setcap CAP_NET_BIND_SERVICE,CAP_NET_RAW,CAP_NET_ADMIN+eip $(prefix)/bin/pihole-FTL