Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 73479 Details for
Bug 113431
baselayout-1.12.0_pre11 does not repopulate ppp secrets files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pppd.patch
pppd.patch (text/plain), 478 bytes, created by
Alin Năstac (RETIRED)
on 2005-11-24 00:44:30 UTC
(
hide
)
Description:
pppd.patch
Filename:
MIME Type:
Creator:
Alin Năstac (RETIRED)
Created:
2005-11-24 00:44:30 UTC
Size:
478 bytes
patch
obsolete
>--- pppd.orig 2005-11-18 20:38:10.000000000 +0200 >+++ pppd 2005-11-24 10:37:45.000000000 +0200 >@@ -56,8 +56,8 @@ > # Add/update PAP/CHAP authentication information > pppd_update_secrets_file() { > local filepath="$1" username="$2" remotename="$3" password="$4" >- if [[ ! -f ${filepath} ]]; then >- touch ${filepath} && \ >+ if [[ ! -s ${filepath} ]]; then >+ echo '#'client$'\t'server$'\t'secret$'\t'IP addresses > ${filepath} && \ > chmod 0600 ${filepath} || \ > return 1 > fi
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 113431
: 73479