Lines 118-131
Link Here
|
118 |
} |
118 |
} |
119 |
|
119 |
|
120 |
if ! is_no "$RESOLV_MODS"; then |
120 |
if ! is_no "$RESOLV_MODS"; then |
121 |
# for dynamic DNS support with gnome-ppp and kppp and draknet (adsl) |
121 |
# check if kppp was here, don't touch /etc/resolv.conf then |
122 |
if grep -iqs '#.*ppp temp entry' /etc/resolv.conf; then |
122 |
grep -iqs '#.*ppp temp entry' /etc/resolv.conf || modify_resolver |
123 |
PPP_TEMP_ENTRY=`grep '#.*ppp temp entry' /etc/resolv.conf | \ |
|
|
124 |
tail -1 | sed 's/.*ppp temp entry/# ppp temp entry/' ` |
125 |
else |
126 |
unset PPP_TEMP_ENTRY |
127 |
fi |
128 |
[ -n "$PPP_TEMP_ENTRY" ] && modify_resolver |
129 |
fi |
123 |
fi |
130 |
|
124 |
|
131 |
case $CONFMETHOD in |
125 |
case $CONFMETHOD in |