[RP-PPPoE] RP-PPPoE 3.15-BETA-1

Dianne Skoll dianne at skoll.ca
Wed Mar 31 11:07:35 EDT 2021


On Tue, 30 Mar 2021 17:34:31 -0400
Dianne Skoll <dianne at skoll.ca> wrote:

> > Just looking at the diff, in many places you hard-code /sbin/ip;
> > this will fail on Debians (/bin/ip) and non-usrmerge Fedoras,  

> D'oh.  OK; I will fix that.

Actually, Debian's "iproute2" makes a symlink from /sbin/ip to /bin/ip.

$ dpkg -L iproute2 | grep bin/ip
/bin/ip
/sbin/ip

$ ls -l /sbin/ip
lrwxrwxrwx 1 root root 7 Dec  3 13:42 /sbin/ip -> /bin/ip

But anyway, it is better not to hard-code it.

Regards,

Dianne.


More information about the RP-PPPoE mailing list