ALT Linux Bugzilla
– Attachment 2333 Details for
Bug 13773
/etc/resolv.conf doesn't get updated without ancient magic
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
fix broken temp entry handling
ip-up.patch (text/plain), 645 bytes, created by
Michael Shigorin
on 2007-12-24 15:22:06 MSK
(
hide
)
Description:
fix broken temp entry handling
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2007-12-24 15:22:06 MSK
Size:
645 bytes
patch
obsolete
>--- /etc/ppp/ip-up.orig 2005-09-25 23:56:18 +0400 >+++ /etc/ppp/ip-up 2007-12-24 15:17:06 +0300 >@@ -118,14 +118,8 @@ > } > > if ! is_no "$RESOLV_MODS"; then >- # for dynamic DNS support with gnome-ppp and kppp and draknet (adsl) >- if grep -iqs '#.*ppp temp entry' /etc/resolv.conf; then >- PPP_TEMP_ENTRY=`grep '#.*ppp temp entry' /etc/resolv.conf | \ >- tail -1 | sed 's/.*ppp temp entry/# ppp temp entry/' ` >- else >- unset PPP_TEMP_ENTRY >- fi >- [ -n "$PPP_TEMP_ENTRY" ] && modify_resolver >+ # check if kppp was here, don't touch /etc/resolv.conf then >+ grep -iqs '#.*ppp temp entry' /etc/resolv.conf || modify_resolver > fi > > case $CONFMETHOD in
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 13773
:
2333
|
2334