Using the correct config var name will really install ppp with suid permissions

Reported-by: Bart Vanhaute <bart.vanha...@trimbletl.com>
Signed-off-by: Juergen Beisert <j...@pengutronix.de>
---
 rules/ppp.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/ppp.make b/rules/ppp.make
index d4d0171..f9c5917 100644
--- a/rules/ppp.make
+++ b/rules/ppp.make
@@ -147,7 +147,7 @@ $(STATEDIR)/ppp.targetinstall:
        @$(call install_fixup, ppp,AUTHOR,"Robert Schwebel 
(r.schwe...@pengutronix.de)")
        @$(call install_fixup, ppp,DESCRIPTION,missing)
 
-ifdef PTXCONFIG_PPP_SUID
+ifdef PTXCONF_PPP_SUID
        @$(call install_copy, ppp, 0, 0, 4755, -, /usr/sbin/pppd)
 else
        @$(call install_copy, ppp, 0, 0, 0755, -, /usr/sbin/pppd)
-- 
1.8.5.3


-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to