ppp-project/ppp

Serial device lock file directory

vostrelt opened this issue · 2 comments

Hello there,
I ran into following situation. I want the pppd to run with runtime directory /var/run/ppp/ but to store serial device lock files in directory /var/lock/ as it is Linux standard. I think there is no way to achieve this with current configure options. So i looked in the pathnames.h and ask myself - shouldn't the line

#define PPP_PATH_LOCKDIR        PPP_PATH_VARRUN  "/lock"

be

#define PPP_PATH_LOCKDIR        LOCALSTATEDIR  "/lock"

?

That was a mistake and has been fixed in 99cbf5e .

OK, thanks!