Am Samstag, 16. August 2003 19:52 schrieb Michael Scherer: > On Saturday 16 August 2003 18:35, Olivier Blin wrote: > > Have I missed something ? > > For dialup users, with the current ip-up script, only kppp sets > > dynamic DNS in /etc/resolv.conf (it doesn't use the ip-up to do that) > > I would also add something to replace if-up.local > > [ -x /etc/ppp/ip-up.local ] && /etc/ppp/ip-up.local "$@" > > replaced by > > if [ -d /etc/ppp/ifup-ppp.d -a -x /usr/bin/run-parts ]; > then > /usr/bin/run-parts --arg "$@" /etc/ppp/ipup.d/ > fi > > then just drop a script to call /etc/ppp/ipup.local in > /etc/ppp/ipup-ppp.d, for backward compatibility. > > the same applis for ipdown.local .
absolutly agree with that :) > This would also mean we can remove the piece of code to flush sendmail > queue, and put it in a separate script, to be cleaner. Yep and it would enable packages to put scripts in there to be executed after dial-up. > > the second problem i see is that each file dropped in > /etc/sysconfig/network-scripts/ifup.d/, are not executed with pppd. > > to give a small example ( and the only one i see ), wshaperx does not > work out of the box, on a adsl connection. > > it seems that this line : > > [ -f /etc/sysconfig/network-scripts/ifcfg-${LOGDEVICE} ] && > /etc/sysconfig/network-scripts/ifup-post ifcfg-${LOGDEVICE} > > never call ifup-post, because $LOGDEVICE is always unset. > at least for adsl and RTC connection. I know that it also handle ppp > connection for Isdn and maybe for tunnel, so this line is maybe for > this kind of connection. > > removing this line and dropping a script in /etc/ppp/ipup.d/ could be a > solution. > > I think this solution can be more flexible than the current one. > > did i forget someting ? > is it possible to replace the script in the current package ? Would be nice Steffen