Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 163135 Details for
Bug 234583
net-dialup/ppp-2.4.4-r15 patch for Huawei E220 support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ip-up.d/45-wins.sh
45-wins.sh (text/plain), 689 bytes, created by
Jaco Kroon
on 2008-08-17 20:03:18 UTC
(
hide
)
Description:
ip-up.d/45-wins.sh
Filename:
MIME Type:
Creator:
Jaco Kroon
Created:
2008-08-17 20:03:18 UTC
Size:
689 bytes
patch
obsolete
>#!/bin/sh > ># Handle smb.conf updating when the usepeerwins pppd option is being used. ># Used parameters and environment variables: ># $1 - interface name (e.g. ppp0) ># $USEPEERWINS - set if user specified usepeerdns ># $WINS1 and $WINS2 - WINS servers reported by peer ># Will additionally "tag" the wins servers, as explained in smb.conf(5), using the LINKNAME value. > >if [ "$USEPEERWINS" ]; then > if [ -r /etc/samba/smb.conf ]; then > [ -n "${WINS1}" ] && sed -re "s/^[[:space:]]*wins ?server.*/\0 ${LINKNAME}:${WINS1}/" -i /etc/samba/smb.conf > [ -n "${WINS2}" -a "${WINS2}" != "${WINS1}" ] && sed -re "s/^[[:space:]]*wins ?server.*/\0 ${LINKNAME}:${WINS2}/" -i /etc/samba/smb.conf > fi >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 Raw
Actions:
View
Attachments on
bug 234583
:
162797
|
163126
|
163127
|
163129
| 163135 |
163136